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

Notifications for completed tasks (#245) #73

Notifications for completed tasks (#245)

Notifications for completed tasks (#245) #73

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"