Update score.yaml #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request | |
on: | |
pull_request: | |
types: | |
- closed | |
env: | |
HUMCTL_VERSION: 0.30.3 | |
jobs: | |
cleanup: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install humctl | |
run: | | |
wget https://github.com/humanitec/cli/releases/download/v${{ env.HUMCTL_VERSION }}/cli_${{ env.HUMCTL_VERSION }}_linux_amd64.tar.gz | |
tar -xvf cli_${{ env.HUMCTL_VERSION }}_linux_amd64.tar.gz | |
chmod +x humctl | |
mv humctl /usr/local/bin | |
- name: Delete Humanitec Env | |
run: | | |
humctl delete env "pr-${{ github.event.number }}" \ | |
--token ${{ secrets.HUMANITEC_TOKEN }} \ | |
--org ${{ vars.HUMANITEC_ORG }} \ | |
--app ${{ vars.HUMANITEC_APP }} |