Skip to content

▶ Beta - Publish latest infrastructure #1

▶ Beta - Publish latest infrastructure

▶ Beta - Publish latest infrastructure #1

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