From acdd5672cf362c7677cb280a572e9375e50a425a Mon Sep 17 00:00:00 2001 From: Kuitos Date: Sun, 25 Apr 2021 00:17:49 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20add=20gh-pages=20action=20(#1418?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/github-pages.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/github-pages.yml diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml new file mode 100644 index 0000000..c2ba90b --- /dev/null +++ b/.github/workflows/github-pages.yml @@ -0,0 +1,20 @@ +name: Qiankun Github Pages Deploy +on: + push: + branches: + - master +jobs: + deploy-gh-pages: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: build + run: | + yarn + yarn docs:build + + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist