Clarified Adrenaline guide with FTP instructions (#169) #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy site | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- docs/** | |
- .github/workflows/publish.yml | |
- package.json | |
workflow_dispatch: | |
jobs: | |
doc-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
submodules: recursive | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
- name: Install dependencies | |
run: npm install | |
- name: Run VuePress | |
# Build the site using VuePress | |
run: npm run docs:build | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs/.vuepress/dist # The folder the action should deploy. | |
clean: true # Automatically remove deleted files from the deploy branch |