mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-11 16:50:33 +08:00
CI: delete artifact after deployments
This commit is contained in:
parent
65ac2f58cc
commit
73fe47852b
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@ -224,3 +224,13 @@ jobs:
|
||||
GH_EMAIL: ${{ secrets.GIT_EMAIL }}
|
||||
GH_USER: ${{ secrets.GIT_USER }}
|
||||
GH_TOKEN: ${{ secrets.GIT_TOKEN }}
|
||||
remove_artifacts:
|
||||
needs:
|
||||
- deploy_to_cloudflare_pages
|
||||
- deploy_to_github_gitlab
|
||||
name: Remove Artifacts after Deployment
|
||||
runs-on: ubuntu-slim
|
||||
steps:
|
||||
- uses: geekyeggo/delete-artifact@v5
|
||||
with:
|
||||
name: build-artifact-${{ github.sha }}-${{ github.run_number }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user