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 07d933c commit 39abb8a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/generate-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ jobs:
run: python mnt/generate-index.py
env:
WORKSPACE: ${{ github.workspace }}
# release the generated indexes.json

- name: Delete old release
run: |
curl -X DELETE
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}"
https://api.github.com/repos/${{github.repository}}/releases/latest
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 39abb8a

Please sign in to comment.