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

added to docs (#249) #77

added to docs (#249)

added to docs (#249) #77

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