Skip to content

Commit

Permalink
ci: ブランチ指定を env からオプションでの指定に変更
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsutakein committed Jul 20, 2024
1 parent 3a52b04 commit 323d2d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/wc-deploy-cloudflare-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ jobs:
with:
apiToken: ${{ secrets.cloudflare-api-token }}
accountId: ${{ secrets.cloudflare-account-id }}
command: pages deploy ./dist --project-name=${{ inputs.project-name }}
env:
CF_PAGES_BRANCH: ${{ inputs.branch }}
command: pages deploy ./dist --project-name=${{ inputs.project-name }} --branch=${{ inputs.branch }}

# https://github.com/marketplace/actions/lighthouse-check
- name: Lighthouse
Expand Down

0 comments on commit 323d2d9

Please sign in to comment.