FIX: change dir in the deploy config file #122
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: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18.20.2 | |
| - name: Install Dependencies | |
| run: yarn | |
| - name: Build VuePress | |
| run: yarn build | |
| - name: Deploy to GitHub Pages | |
| uses: JuanLoLuna/vuepress-deploy@master | |
| env: | |
| ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
| TARGET_REPO: BrainCOGS/braincogs.github.io | |
| TARGET_BRANCH: gh-pages | |
| BUILD_DIR: docs/.vuepress/dist |