diff options
| author | Takuya Yoshida <hawaiianphoto@geekhost.net> | 2022-06-09 00:50:23 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-09 00:50:23 +0900 |
| commit | 327c62337e3bc63616153bbe5512ff235be9fc7e (patch) | |
| tree | 69a87e03238e9974828ca316195ebc29c966814d /.github/workflows/pr-preview-destroy.yml | |
| parent | Update CONTRIBUTING.md (diff) | |
| download | sharkey-327c62337e3bc63616153bbe5512ff235be9fc7e.tar.gz sharkey-327c62337e3bc63616153bbe5512ff235be9fc7e.tar.bz2 sharkey-327c62337e3bc63616153bbe5512ff235be9fc7e.zip | |
ok-to-test with okteto (#8799)
Diffstat (limited to '.github/workflows/pr-preview-destroy.yml')
| -rw-r--r-- | .github/workflows/pr-preview-destroy.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/pr-preview-destroy.yml b/.github/workflows/pr-preview-destroy.yml new file mode 100644 index 0000000000..fa872715da --- /dev/null +++ b/.github/workflows/pr-preview-destroy.yml @@ -0,0 +1,21 @@ +# 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 }}-misskey-dev |