Skip to content

Commit

Permalink
returned previous edit in delete job
Browse files Browse the repository at this point in the history
  • Loading branch information
almostinf committed Aug 17, 2023
1 parent 1036d58 commit 7cb5eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/swagger-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
- run: npm i --location=global swaggerhub-cli
- run: |
VERSION=`echo ${GITHUB_REF_NAME}| sed 's#[^a-zA-Z0-9_\.\-]#_#g'`
SWAGGERHUB_API_KEY=${{secrets.SWAGGERHUB_TOKEN}} swaggerhub api:unpublish "Moira-test-swagger/moira-alert-test-2/${VERSION}"
SWAGGERHUB_API_KEY=${{secrets.SWAGGERHUB_TOKEN}} swaggerhub api:unpublish "Moira-test-swagger/moira-alert-test-2/${VERSION}" || true
SWAGGERHUB_API_KEY=${{secrets.SWAGGERHUB_TOKEN}} swaggerhub api:delete "Moira-test-swagger/moira-alert-test-2/${VERSION}" || true

0 comments on commit 7cb5eaf

Please sign in to comment.