Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Grzegorz Choiński <[email protected]>
  • Loading branch information
Wallted committed Jan 27, 2024
1 parent 22373b8 commit 155b8a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ jobs:
needs: [publish-dotnet]

steps:
- name: clone and docker compose up
- name: setup env and docker compose up
uses: appleboy/ssh-action@master
env:
CERT_PATH: ${{ secrets.CERT_PATH }}
CERT_KEY_PATH: ${{ secrets.CERT_KEY_PATH }}
CERT_PATH: ${{ secrets.CERT_PATH }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
CERTIFICATE: ${{ secrets.CERTIFICATE }}
NGINX_CONF: ${{ secrets.NGINX_CONF }}
Expand All @@ -49,8 +49,8 @@ jobs:
script: |
rm -rf repo
git clone https://github.com/${{github.repository}} repo && cd repo
git fetch origin refs/pull/49/head
git checkout FETCH_HEAD
git fetch origin $TAG
git checkout $TAG
chmod +x ./setup_env.sh
./setup_env.sh
docker-compose -f docker-compose.prod.yml down
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
git clone https://github.com/${{github.repository}} repo && cd repo
git fetch origin refs/pull/49/head
git checkout FETCH_HEAD
chmod +x ./deploy.sh
./deploy.sh
chmod +x ./setup_env.sh
./setup_env.sh
docker-compose -f docker-compose.prod.yml down
docker-compose -f docker-compose.prod.yml up -d

0 comments on commit 155b8a9

Please sign in to comment.