Skip to content

Commit 6f17953

Browse files
committed
New CI-CD for deploy?...
1 parent 43a3480 commit 6f17953

2 files changed

Lines changed: 5 additions & 78 deletions

File tree

.github/workflows/release-ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,18 @@ jobs:
4848
tags: ${{ steps.meta.outputs.tags }}
4949
labels: ${{ steps.meta.outputs.labels }}
5050

51+
run:
52+
runs-on: ubuntu-latest
53+
needs: [ build ]
54+
steps:
5155
- name: run on server
5256
uses: garygrossgarten/github-action-ssh@release
5357
with:
5458
host: ${{ secrets.SERVER_HOST }}
5559
username: ${{ secrets.SERVER_USER }}
5660
password: ${{ secrets.SERVER_PASSWORD }}
5761
command: |
58-
cd /home/app/procollab-backend &&
62+
cd /home/app/procollab-backend
5963
docker-compose -f docker-compose.prod-ci.yml -p prod pull
6064
6165
rm -f .env &&
@@ -77,4 +81,3 @@ jobs:
7781
echo "SENTRY_DSN=${{ secrets.SENTRY_DSN }}" >> .env &&
7882
7983
docker-compose -f docker-compose.prod-ci.yml -p prod up -d
80-
# docker run -d --env-file .env -p 8000:8000 ghcr.io/procollab-github/api:latest

.github/workflows/release-package.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)