Skip to content

add missing 42 file #16

add missing 42 file

add missing 42 file #16

Workflow file for this run

on:
push:
paths:
- 'html/**'
branches:
- main
- master
name: Deploy nginx
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/nginx
- name: Verify deployment
uses: gnuu-de/kubectl@master
env:
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
with:
args: get pods -l app=nginx
- name: Announce deployment
uses: wei/curl@v1
env:
MATRIX_KEY: ${{ secrets.MATRIX_KEY }}
MATRIX_ROOM: ${{ secrets.MATRIX_ROOM }}
with:
args: -d '{\"text\":\"New deployment nginx done\", \"key\":\"'${MATRIX_KEY}'\", \"room\":\"'${MATRIX_ROOM}'\"}' https://api.gnuu.de/matrixbot/