Skip to content

Commit

Permalink
Update deploy-preview.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kashike authored Aug 4, 2024
1 parent 37e9afd commit 6683967
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy-preview.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "Upload Preview Deployment"
name: "Publish Preview Deployment"

on:
workflow_run:
workflows: ["Build Preview Deployment"]
Expand All @@ -7,8 +8,8 @@ on:

permissions:
actions: read
deployments: write
contents: read
deployments: write
pull-requests: write

jobs:
Expand All @@ -17,7 +18,6 @@ jobs:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: "Deploy Preview to Cloudflare Pages"
steps:
# Downloads the build directory from the previous workflow
- name: "Download build artifact"
uses: "actions/download-artifact@v4"
id: "preview-build-artifact"
Expand All @@ -26,7 +26,6 @@ jobs:
path: "build"
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}

- name: "Deploy to Cloudflare Pages"
uses: "AdrianGonz97/refined-cf-pages-action@v1"
with:
Expand Down

0 comments on commit 6683967

Please sign in to comment.