From 708301711a28036904af1a6f3224f00a450c4bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=A8=E5=B0=8F=E9=80=8F=E6=98=8E=E3=83=BB=E5=AE=B8?= =?UTF-8?q?=E2=9C=A8?= <47057319+TransparentLC@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:02:24 +0800 Subject: [PATCH] Create deploy-page.yml [skip ci] --- .github/workflows/deploy-page.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/deploy-page.yml diff --git a/.github/workflows/deploy-page.yml b/.github/workflows/deploy-page.yml new file mode 100644 index 0000000..10c1f94 --- /dev/null +++ b/.github/workflows/deploy-page.yml @@ -0,0 +1,29 @@ +name: deploy-page + +on: + workflow_dispatch: + +jobs: + deploy-page: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + repository: TransparentLC/realesrgan-gui-page + - uses: actions/setup-node@v4 + with: + node-version: latest + check-latest: true + cache: npm + cache-dependency-path: package.json + - name: Install npm dependencies + run: npm install + - name: Build + run: npm run build + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: dist + user_name: github-actions[bot] + user_email: github-actions[bot]@users.noreply.github.com \ No newline at end of file