forked from JohnnyCrazy/SpotifyAPI-NET
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 717 Bytes
/
docs.yaml
File metadata and controls
29 lines (27 loc) · 717 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
name: Build/Deploy Documentation
on:
push:
branches:
- master
jobs:
build-deploy-docs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.JS
uses: actions/setup-node@v3
with:
node-version: v20.9.0
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