From 0601dcac61c88622a9c1b745f1e2812a4659714f Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Fri, 17 Mar 2023 21:09:45 +0800 Subject: t a b s --- .github/workflows/deploy.yaml | 50 +++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to '.github') diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 382cdbe..b79089c 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,38 +1,38 @@ name: deploy to gh pages on: - push: - branches: [main] - workflow_dispatch: + push: + branches: [main] + workflow_dispatch: permissions: - contents: read - pages: write - id-token: write + contents: read + pages: write + id-token: write jobs: - build: - runs-on: ubuntu-latest + build: + runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 + steps: + - uses: actions/checkout@v3 - - name: setup deno - uses: denoland/setup-deno@v1 - with: - deno-version: v1.31.3 + - name: setup deno + uses: denoland/setup-deno@v1 + with: + deno-version: v1.31.3 - - name: build site - run: deno task build + - name: build site + run: deno task build - - name: setup pages - uses: actions/configure-pages@v3 + - name: setup pages + uses: actions/configure-pages@v3 - - name: upload artifact - uses: actions/upload-pages-artifact@v1 - with: - path: '_site' + - name: upload artifact + uses: actions/upload-pages-artifact@v1 + with: + path: '_site' - - name: deploy - id: deployment - uses: actions/deploy-pages@v1 + - name: deploy + id: deployment + uses: actions/deploy-pages@v1 -- cgit v1.2.3