Skip to content

Commit

Permalink
Update Cloudflare pages deploy configs
Browse files Browse the repository at this point in the history
  • Loading branch information
tfirdaus committed Dec 11, 2024
1 parent ba7ea75 commit 996cee5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/cloudflare-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
workflow_call:
secrets:
CLOUDFLARE_API_TOKEN:
description: 'Token for publishing to Cloudflare Pages'
description: "Token for publishing to Cloudflare Pages"
required: true
CLOUDFLARE_ACCOUNT_ID:
description: 'Account ID for publishing to Cloudflare Pages'
description: "Account ID for publishing to Cloudflare Pages"
required: true
workflow_dispatch:
pull_request:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: "7.4"

- name: Get Composer cache directory
id: composer-cache
Expand Down Expand Up @@ -77,6 +77,5 @@ jobs:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: kubrick
directory: website/dist
wranglerVersion: '3'
command: pages deploy website/dist --project-name=kubrick
wranglerVersion: "3"

0 comments on commit 996cee5

Please sign in to comment.