Skip to content

Commit

Permalink
Merge pull request #54 from tatsutakein-jp/improve/GH-11
Browse files Browse the repository at this point in the history
ci: ブランチ指定を env からオプションでの指定に変更
  • Loading branch information
tatsutakein authored Jul 20, 2024
2 parents 3a52b04 + 323d2d9 commit a1c530b
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 a1c530b

Please sign in to comment.