Skip to content

Commit

Permalink
Update generate-index.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
akinazuki committed Jun 20, 2024
1 parent 9dd49d1 commit e3035ee
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/generate-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ jobs:
env:
WORKSPACE: ${{ github.workspace }}

- name: Delete old release
run: |
curl -X DELETE -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/${{github.repository}}/releases/latest
- name: Delete old Release
uses: dev-drprasad/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
repo: ${{ github.repository }}
keep_latest: 1

- name: Create Release
id: create_release
Expand Down

0 comments on commit e3035ee

Please sign in to comment.