Skip to content

Commit

Permalink
chore: update ci workflows for new server
Browse files Browse the repository at this point in the history
  • Loading branch information
avafloww committed Oct 12, 2023
1 parent a3ef4ff commit 05b171a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-admincli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- 'main'
paths:
- '.github/workflows/**'
- 'Thaliak.Common.Database/**'
- 'Thaliak.Analysis.Engine/**'
- 'Thaliak.Common.Messages/**'
Expand All @@ -29,5 +30,5 @@ jobs:
context: .
file: ./Thaliak.AdminCli/Dockerfile
push: true
tags: ghcr.io/avafloww/thaliak-admin-cli:latest
tags: ghcr.io/CrystallineTools/thaliak-admin-cli:latest

6 changes: 3 additions & 3 deletions .github/workflows/build-poller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- 'main'
paths:
- '.github/workflows/**'
- 'Thaliak.Common.Database/**'
- 'Thaliak.Service.Poller/**'

Expand All @@ -27,13 +28,12 @@ jobs:
context: .
file: ./Thaliak.Service.Poller/Dockerfile
push: true
tags: ghcr.io/avafloww/thaliak-poller:latest
tags: ghcr.io/CrystallineTools/thaliak-poller:latest
- name: Deploy to production server
uses: appleboy/[email protected]
with:
host: ${{ secrets.REMOTE_HOST }}
port: ${{ secrets.REMOTE_PORT }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.REMOTE_SSH_KEY }}
# todo: update if we ever care about supporting a staging env
script: sudo /home/deploy/deploy-thaliak.sh poller main
script: ~/gha-deploy.sh poller
5 changes: 3 additions & 2 deletions .github/workflows/build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- 'main'
paths:
- '.github/workflows/**'
- 'Thaliak.Web/**'

jobs:
Expand All @@ -26,12 +27,12 @@ jobs:
context: .
file: ./Thaliak.Web/Dockerfile
push: true
tags: ghcr.io/avafloww/thaliak-web:latest
tags: ghcr.io/CrystallineTools/thaliak-web:latest
- name: Deploy to production server
uses: appleboy/[email protected]
with:
host: ${{ secrets.REMOTE_HOST }}
port: ${{ secrets.REMOTE_PORT }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.REMOTE_SSH_KEY }}
script: sudo /home/deploy/deploy-thaliak.sh web main
script: ~/gha-deploy.sh web

0 comments on commit 05b171a

Please sign in to comment.