Skip to content

Commit

Permalink
Create pages-deployment.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueBoy247 authored Apr 22, 2024
1 parent e31bac4 commit d98553f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pages-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Deploy to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v3
# Run your project's build step
# - name: Build
# run: npm install && npm run build
- name: Publish
uses: cloudflare/pages-action@1
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 }}

0 comments on commit d98553f

Please sign in to comment.