Skip to content

Commit

Permalink
publish to cloudflare
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronan LE MEILLAT committed Jun 28, 2024
1 parent e6d27fd commit d1ba591
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,13 @@ jobs:
- run: npm ci
- run: npm run build
env:
CI: false
CI: false

- name: Publish to Cloudflare Pages
uses: sctg-development/pages-action-without-url@main
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }}
directory: build # e.g. 'dist'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d1ba591

Please sign in to comment.