From ed28626afd046d0eecc58efa51eabeee9273464c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E7=92=9F?= Date: Tue, 10 Sep 2024 16:03:29 +0800 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8b137891..cf91f664 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1 +1,22 @@ +name: Deploy to Cloudflare Pages + +on: + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Publish to Cloudflare Pages + uses: cloudflare/pages-action@v1 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: eb79f13320db531d8cf1f3720966b695 + projectName: doc-websoft9-com + directory: apphub/apidocs + gitHubToken: ${{ secrets.GITHUB_TOKEN }}