diff --git a/.github/workflows/swagger-delete.yml b/.github/workflows/swagger-delete.yml index 2d68aec88..561e0112e 100644 --- a/.github/workflows/swagger-delete.yml +++ b/.github/workflows/swagger-delete.yml @@ -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}" || true + 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:delete "Moira-test-swagger/moira-alert-test-2/${VERSION}" || true