Skip to content

Update OpenUASone.md #173

Update OpenUASone.md

Update OpenUASone.md #173

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