Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Deploy application to staging environment #2

Deploy application to staging environment

Deploy application to staging environment #2

name: Deploy application to staging environment
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: [self-hosted]
steps:
- name: Execute the build and run script on the server
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
script: "/services/duogradus/build-and-run.sh"