We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
step: delete-env
I create env by
- name: Notify about new deployment uses: bobheadxi/deployments@v1 id: deployment with: step: start token: ${{ secrets.GITHUB_TOKEN }} ref: ${{ github.head_ref }} env: preview-${{ github.event.number }}
Then I delete it by:
- name: Clean from GitHub uses: bobheadxi/deployments@v1 with: step: delete-env token: ${{ secrets.GITHUB_TOKEN }} env: preview-${{ github.event.number }}
But delete-env does not really delete env and only mark it as inactive.
delete-env
inactive
Here is a log from GitHub Actions:
Run bobheadxi/deployments@v1 with: step: delete-env token: *** env: preview-479 debug: false auto_inactive: false targeting ***/browsersl.ist preview-479: found 1 existing deployments for env preview-479.642582676: setting deployment (b04ae51d657ee0d1f192d7ae2659b791cbacc38b) state to "inactive" preview-479: 1 deployments updated preview-479.642582676: deleting deployment (b04ae51d657ee0d1f192d7ae2659b791cbacc38b)" preview-479: 1 deployments deleted
But we still have preview-479 in the Environments page in Settings:
preview-479
The text was updated successfully, but these errors were encountered:
Here is a PR: #118
Sorry, something went wrong.
fix: delete env from settings (#134)
102a9c1
fix #118 Co-authored-by: Robert Lin <robertlin1@gmail.com>
Successfully merging a pull request may close this issue.
I create env by
Then I delete it by:
But
delete-env
does not really delete env and only mark it asinactive
.Here is a log from GitHub Actions:
But we still have
preview-479
in the Environments page in Settings:The text was updated successfully, but these errors were encountered: