From 6b09b500f22ed80078c1c0bfe92e1ca1303d43d7 Mon Sep 17 00:00:00 2001 From: mahula Date: Wed, 29 Nov 2023 11:27:29 +0100 Subject: [PATCH] replace vuepress deploy action --- .github/workflows/vuepress-deploy.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/vuepress-deploy.yml diff --git a/.github/workflows/vuepress-deploy.yml b/.github/workflows/vuepress-deploy.yml new file mode 100644 index 0000000..3c49a16 --- /dev/null +++ b/.github/workflows/vuepress-deploy.yml @@ -0,0 +1,22 @@ +name: Build and Deploy + +on: + push: + branches: + - master + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + + - name: vuepress-gh-pages-deploy + uses: crazy-max/ghaction-github-pages@master + with: + target_branch: gh-pages + build_dir: docs/.vuepress/dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +