Skip to content

Publish latest infrastructure #52

Publish latest infrastructure

Publish latest infrastructure #52

Workflow file for this run

# This workflow will trigger the remote ssh script to
# restart infrastructure with the latest artefacts version
on: workflow_dispatch
name: Publish latest infrastructure
jobs:
deploy:
name: publish-infra
runs-on: self-hosted
steps:
- name: Publish via ssh
uses: appleboy/ssh-action@v0.1.10
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY}}
script: sh /opt/open4goods/bin/publish-infra.sh