From 1c696faa56584c395a6ab1a8c63e9fc7eea85787 Mon Sep 17 00:00:00 2001 From: Katsute <58778985+Katsute@users.noreply.github.com> Date: Wed, 10 Feb 2021 13:22:57 -0500 Subject: [PATCH] fix workflow syntax --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 05332a0..aace0c0 100644 --- a/README.md +++ b/README.md @@ -15,19 +15,19 @@ It will first find and mark all deployments as `inactive` and then delete all de The example below will be triggered on a delete event ```yaml -Name: Delete Deployments +name: Delete Deployments on: delete: branches-ignore: - main - jobs: - delete: - runs-on: ubuntu-latest - steps: - - uses: strumwolf/delete-deployment-environment@1.1.0 - with: - token: ${{ github.token }} - environment: my-environment-name +jobs: + delete: + runs-on: ubuntu-latest + steps: + - uses: strumwolf/delete-deployment-environment@v1.1.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + environment: my-environment-name ```