stable version before branching to update to vuepress 2 #108
This file contains hidden or 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: Build and Deploy | |
| on: [push] | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@master | |
| - name: vuepress-deploy | |
| uses: JuanLoLuna/vuepress-deploy@master | |
| env: | |
| ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
| TARGET_REPO: BrainCOGS/braincogs.github.io | |
| TARGET_BRANCH: gh-pages | |
| BUILD_SCRIPT: yarn && yarn build | |
| BUILD_DIR: src/.vuepress/dist |