Skip to content

Commit

Permalink
Merge pull request strumwolf#7 from Katsute/fix-readme@a8fabd0
Browse files Browse the repository at this point in the history
Fix README workflow syntax
  • Loading branch information
strumwolf authored Feb 10, 2021
2 parents a8fabd0 + 1c696fa commit b6c06b5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit b6c06b5

Please sign in to comment.