Skip to content

fix: run in demo

fix: run in demo #37

Workflow file for this run

name: Deploy
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- name: Run unit tests
run: make test
build:
needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: docker compose build;
deploy_sources:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: easingthemes/[email protected]
with:
SSH_PRIVATE_KEY: ${{ secrets.serverSshPrivateKey }}
SOURCE: "."
REMOTE_HOST: ${{ secrets.remoteHost }}
REMOTE_USER: ${{ secrets.remoteUser }}
EXCLUDE: "/docs/, /node_modules/"
TARGET: /root/mono/