Skip to content

Commit 2d80274

Browse files
Workflow: cleanup-pr-preview delete correct folder (#63)
1 parent 95d938a commit 2d80274

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cleanup-pr-preview.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
ref: gh-pages
1414
- run: git config user.name "github-actions[bot]"
1515
- run: git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
16-
- run: git rm ${{ github.ref_name }}
17-
- run: git commit -m 'Cleaning up gh-pages after ${{ github.ref_name }}'
16+
- run: git rm -rf ${{ github.event.number }}
17+
- run: git commit -m 'Cleaning up gh-pages after ${{ github.event.number }}'
1818
- uses: ad-m/github-push-action@master

0 commit comments

Comments
 (0)