change plz from int to str #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
paths: | |
- 'user/**' | |
name: Deploy user | |
jobs: | |
deploy: | |
name: Deploy to cluster | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: master | |
- name: Deploy to cluster | |
uses: gnuu-de/kubectl@master | |
env: | |
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} | |
with: | |
args: rollout restart deployment/usr | |
- name: Verify deployment | |
uses: gnuu-de/kubectl@master | |
env: | |
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} | |
with: | |
args: rollout status deployment/usr | |
- name: Announce deployment | |
uses: wei/curl@v1 | |
env: | |
MATRIX_KEY: ${{ secrets.MATRIX_KEY }} | |
MATRIX_ROOM: ${{ secrets.MATRIX_ROOM }} | |
with: | |
args: -d '{\"text\":\"New deployment user done\", \"key\":\"'${MATRIX_KEY}'\", \"room\":\"'${MATRIX_ROOM}'\"}' https://api.gnuu.de/matrixbot/ |