This commit is contained in:
Skillz
2020-06-18 10:07:11 -04:00
parent 7e23da138d
commit d756288799
+11 -9
View File
@@ -10,15 +10,17 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
build-and-deploy:
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@master
- name: Build Documentation
run: ./deploy.sh
- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_REPO: Skillz4Killz/Discordeno
TARGET_BRANCH: master
BUILD_SCRIPT: npm i && npm run docs:build
BUILD_DIR: docs/.vuepress/dist/