Skip to content

Commit

Permalink
Update delete preview action
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalibor Hon committed Feb 22, 2024
1 parent 7231467 commit 81b2543
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/delete-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: "./dist/"
commit-message: "Deleted preview at ${{ PR_PATH }}"
commit-message: "Deleted preview at ${{ env.PR_PATH }}"
destination-github-username: ${{ github.actor }}
destination-repository-name: "deploy-previews"
target-branch: main
target-directory: ${{ PR_PATH }}
target-directory: ${{ env.PR_PATH }}

- name: Comment on PR
uses: hasura/[email protected]
Expand All @@ -46,4 +46,4 @@ jobs:
repository: ${{ github.repository }}
number: ${{ github.event.number }}
id: deploy-preview
message: "🪓 PR closed, deleted preview at https://dallyh.github.io/deploy-previews/${{ PR_PATH }}/"
message: "🪓 PR closed, deleted preview at https://dallyh.github.io/deploy-previews/${{ env.PR_PATH }}/"

0 comments on commit 81b2543

Please sign in to comment.