Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tall-pugs-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"github-actions-cloudflare-pages": patch
---

fix: delete action use node24
2 changes: 1 addition & 1 deletion .github/workflows/deploy-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:
group: deploy-delete-${{ github.head_ref || github.run_id }}

jobs:
cloudflare-pages-deploy-delete:
deploy-delete:
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

jobs:
cloudflare-pages-deploy:
deploy-main:
permissions:
actions: read
contents: read
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,13 @@ on:
- test
types:
- completed
workflow_dispatch:
inputs:
environment:
description: 'Environment to run actiomn against'
type: environment
required: false

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

jobs:
cloudflare-pages-deploy:
if: ${{ github.event_name != 'workflow_run' || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.head_branch != 'main') }}
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
actions: read
contents: read
Expand All @@ -43,5 +37,5 @@ jobs:
cloudflare-project-name: ${{ vars.CLOUDFLARE_PROJECT_NAME }}
directory: dist
github-token: ${{ secrets.GITHUB_TOKEN }}
github-environment: ${{ inputs.environment || 'preview' }}
github-environment: 'preview'
working-directory: example
2 changes: 1 addition & 1 deletion delete/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ inputs:
required: false

runs:
using: node20
using: node24
main: ../dist/delete/index.js
Loading