mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-07-03 10:42:15 +08:00
UP
This commit is contained in:
parent
7962fe0723
commit
9af6e1aca2
9
.github/workflows/docker-build.yml
vendored
9
.github/workflows/docker-build.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
- name: Delete workflow runs for current repo
|
||||
uses: Mattraks/delete-workflow-runs@v2
|
||||
with:
|
||||
token: ${{ github.token }}
|
||||
token: ${{ steps.get-token.outputs.token }}
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 7
|
||||
keep_minimum_runs: 6
|
||||
@ -45,6 +45,13 @@ jobs:
|
||||
token: ${{ steps.get-token.outputs.token }}
|
||||
environment: Preview
|
||||
onlyRemoveDeployments: true
|
||||
|
||||
- name: Delete MAIN deployment
|
||||
uses: strumwolf/delete-deployment-environment@v2.3.0
|
||||
with:
|
||||
token: ${{ steps.get-token.outputs.token }}
|
||||
environment: Production
|
||||
onlyRemoveDeployments: true
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user