Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yamanoku committed Apr 16, 2024
1 parent d8a94a2 commit 07b0224
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/cloudflare-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ on: [push]

jobs:
publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
statuses: write

steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -18,12 +16,12 @@ jobs:
id: cloudflare_pages_deploy
uses: cloudflare/pages-action@1
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: yamanoku-birthday
directory: ./dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

branch: main
# これを追記
- name: Add publish URL as commit status
uses: actions/github-script@v6
Expand Down

0 comments on commit 07b0224

Please sign in to comment.