-
Notifications
You must be signed in to change notification settings - Fork 17
35 lines (32 loc) 路 796 Bytes
/
Copy pathdeploy-app.yml
File metadata and controls
35 lines (32 loc) 路 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Deploy App
on:
push:
branches:
- master
paths:
- 'client/**'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
matrix:
instance: ['knust', 'ug', 'umat']
steps:
- name: Cloning repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Push to dokku
uses: dokku/github-action@master
# enable verbose ssh output
env:
GIT_SSH_COMMAND: 'ssh -vvv'
with:
# enable verbose git output
git_push_flags: '-vvv'
git_remote_url: 'ssh://dokku@85.159.211.246:22/${{ matrix.instance }}'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
# enable shell trace mode
trace: '1'