-
Notifications
You must be signed in to change notification settings - Fork 314
32 lines (30 loc) · 781 Bytes
/
docs.yaml
File metadata and controls
32 lines (30 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Build/Deploy Documentation
on:
push:
branches:
- master
jobs:
build-deploy-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: pnpm/action-setup@v2
with:
version: 9
- name: Use Node.JS
uses: actions/setup-node@v3
with:
node-version: 22.x
cache: "pnpm"
cache-dependency-path: |
SpotifyAPI.Docs/pnpm-lock.yaml
- name: Setup GitHub Deploy SSH Key
uses: webfactory/ssh-agent@v0.4.1
with:
ssh-private-key: ${{ secrets.GH_DEPLOY_SSH_KEY }}
- name: Build & Deploy Documentation
run: ./SpotifyAPI.Docs/docs.sh