mirror of https://github.com/docker/docs.git
ci: remove clean-pr workflow
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
9856e25800
commit
b97b3a8123
|
@ -1,27 +0,0 @@
|
||||||
name: clean-pr
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
types:
|
|
||||||
- closed
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
netlify-remove:
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
if: github.event.pull_request.head.repo.fork == false
|
|
||||||
steps:
|
|
||||||
-
|
|
||||||
name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
|
||||||
-
|
|
||||||
name: Remove site from Netlify
|
|
||||||
uses: docker/bake-action@v2
|
|
||||||
with:
|
|
||||||
targets: netlify-remove
|
|
||||||
set: |
|
|
||||||
*.cache-from=type=gha,scope=releaser
|
|
||||||
env:
|
|
||||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
|
||||||
NETLIFY_SITE_NAME: ${{ github.repository }}/${{ github.head_ref }}
|
|
Loading…
Reference in New Issue