Skip to content

Update pages-deployment.yaml #6

Update pages-deployment.yaml

Update pages-deployment.yaml #6

on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Deploy to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v4
# Run your project's build step
# - name: Build
# run: npm install && npm run build
- name: Publish
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: tw-anscheck # e.g. 'my-project'
directory: / # e.g. 'dist'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}