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 }}