diff --git a/.github/workflows/vuepress-deploy.yml b/.github/workflows/vuepress-deploy.yml new file mode 100644 index 0000000..806f88b --- /dev/null +++ b/.github/workflows/vuepress-deploy.yml @@ -0,0 +1,19 @@ +name: Build and Deploy +branch: master +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: username/repo + TARGET_BRANCH: master + BUILD_SCRIPT: yarn && yarn docs:build + BUILD_DIR: docs/.vuepress/dist + CNAME: https://www.it4c.dev \ No newline at end of file