mirror of
https://github.com/werf/actions.git
synced 2026-02-05 02:46:23 +03:00
Add dismiss action
This commit is contained in:
19
README.md
19
README.md
@@ -8,6 +8,7 @@ This action set allows you to organize CI/CD with GitHub Actions and [werf](http
|
||||
- [flant/werf-actions/converge](https://github.com/flant/werf-actions/tree/master/converge)
|
||||
- [flant/werf-actions/build-and-publish](https://github.com/flant/werf-actions/tree/master/build-and-publish)
|
||||
- [flant/werf-actions/deploy](https://github.com/flant/werf-actions/tree/master/deploy)
|
||||
- [flant/werf-actions/dismiss](https://github.com/flant/werf-actions/tree/master/dismiss)
|
||||
- [flant/werf-actions/cleanup](https://github.com/flant/werf-actions/tree/master/cleanup)
|
||||
|
||||
Each action combines all the necessary steps in itself and logic may be divided into __environment setup__ and launching the corresponding command.
|
||||
@@ -130,6 +131,24 @@ deploy:
|
||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||
```
|
||||
|
||||
### dismiss
|
||||
|
||||
```yaml
|
||||
dismiss:
|
||||
name: Dismiss
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Dismiss
|
||||
uses: flant/werf-actions/dismiss@v1
|
||||
with:
|
||||
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
|
||||
env: production
|
||||
```
|
||||
|
||||
### cleanup
|
||||
|
||||
```yaml
|
||||
|
||||
Reference in New Issue
Block a user