Update OpenUASone.md #173
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: Vuepress Build and Deploy | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- docs/** | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: vuepress-build-and-deploy | |
uses: jenkey2011/vuepress-deploy@master | |
env: | |
# The access token will eventually expire and need to be updated. | |
# When the token expires the following error will occur during deployment: | |
# remote: Invalid username or password. | |
# fatal: Authentication failed for '***github.com/Open-UAS/Open-UAS.github.io.git/' | |
# | |
# See the readme for jenkey2011/vuepress for instructions on how to create a new access token and add it to the Open-UAS/Open-UAS.github.io repo. | |
# https://github.com/jenkey2011/vuepress-deploy#create-a-personal-access-token | |
# NOTE: To add an access token you must be an Owner of the repo. | |
ACCESS_TOKEN: ${{ secrets.VARAD_ACCESS_TOKEN }} | |
TARGET_REPO: Open-UAS/Open-UAS.github.io | |
TARGET_BRANCH: gh-pages | |
BUILD_SCRIPT: npm install && npm run build | |
BUILD_DIR: docs/.vuepress/dist | |
#CNAME: https://www.xxx.com |