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: jenkey2011/vuepress-deploy@master env: ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} TARGET_REPO: anghunk/cwd TARGET_BRANCH: gh-pages BUILD_SCRIPT: yarn --cwd docs && yarn --cwd docs build BUILD_DIR: docs/.vitepress/dist/