2020-11-14 08:40:07 +00:00
|
|
|
name: Build/Deploy Documentation
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2020-11-14 10:05:30 +00:00
|
|
|
branches:
|
|
|
|
- master
|
2020-11-14 08:40:07 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-deploy-docs:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Use Node.JS
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
with:
|
2022-11-18 13:19:55 +00:00
|
|
|
node-version: 18.12.1
|
2020-11-14 10:14:24 +00:00
|
|
|
- name: Setup GitHub Deploy SSH Key
|
|
|
|
uses: webfactory/ssh-agent@v0.4.1
|
|
|
|
with:
|
|
|
|
ssh-private-key: ${{ secrets.GH_DEPLOY_SSH_KEY }}
|
2020-11-14 08:40:07 +00:00
|
|
|
- name: Build & Deploy Documentation
|
|
|
|
run: ./SpotifyAPI.Docs/docs.sh
|