mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
21 lines
474 B
YAML
21 lines
474 B
YAML
# file: .github/workflows/preview-closed.yaml
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- closed
|
|
|
|
name: Destroy preview environment
|
|
|
|
jobs:
|
|
destroy-preview-environment:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Context
|
|
uses: okteto/context@latest
|
|
with:
|
|
token: ${{ secrets.OKTETO_TOKEN }}
|
|
|
|
- name: Destroy preview environment
|
|
uses: okteto/destroy-preview@latest
|
|
with:
|
|
name: pr-${{ github.event.number }}-syuilo
|