Update test.yml

This commit is contained in:
赵璟 2024-09-10 16:03:29 +08:00 committed by GitHub
parent e4151d3881
commit ed28626afd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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