Skip to content

fix add condition

fix add condition #13

name: develop-release
on:
push:
branches:
- develop
jobs:
docker-release:
uses: smeup/devops/.github/workflows/docker-release.yaml@main
with:
docker-tag: latest
docker-repository-name: kokos-node-workshop
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
update-on-lab-environment:
needs: docker-release
runs-on: erbusco
steps:
- name: Update container on Kokos LAB (https://kokoslab.smeup.com)
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.KOKOS_LAB_IP }}
username: smeup
password: ${{ secrets.LAB_SSH_PASSWORD }}
script: |
kubectl rollout restart deploy/me-node-workshop