mirror of
https://github.com/iLay1678/i-tools.git
synced 2025-07-03 18:52:17 +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
|
- name: Delete workflow runs for current repo
|
||||||
uses: Mattraks/delete-workflow-runs@v2
|
uses: Mattraks/delete-workflow-runs@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ github.token }}
|
token: ${{ steps.get-token.outputs.token }}
|
||||||
repository: ${{ github.repository }}
|
repository: ${{ github.repository }}
|
||||||
retain_days: 7
|
retain_days: 7
|
||||||
keep_minimum_runs: 6
|
keep_minimum_runs: 6
|
||||||
@ -46,6 +46,13 @@ jobs:
|
|||||||
environment: Preview
|
environment: Preview
|
||||||
onlyRemoveDeployments: true
|
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
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user