Skip to content

Commit 2cada47

Browse files
committed
ci: fix aws
1 parent 25efe48 commit 2cada47

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy-aws.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ jobs:
4848
GHCR_REPO=$(echo '${{ github.event.repository.name }}' | tr '[:upper:]' '[:lower:]')
4949
GHCR_TAG=$(
5050
if [[ -n "${{ github.event.inputs.image }}" ]]; then
51-
echo "${{ github.event.inputs.image }}"
51+
echo "${{ github.event.inputs.image }}"
5252
elif [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
53-
echo "${{ github.sha }}"
53+
echo "${{ github.sha }}"
5454
else
55-
echo "dev-${{ github.sha }}"
55+
echo "dev-${{ github.sha }}"
5656
fi
5757
)
5858
DB_USERNAME=${{ secrets.DB_USERNAME }}
@@ -84,5 +84,5 @@ jobs:
8484
key: ${{ secrets.SERVER_SSH_KEY }}
8585
script: |
8686
cd ~/srv/app
87-
docker compose -f docker-compose.prod.deploy.yml --env-file .env pull
88-
docker compose -f docker-compose.prod.deploy.yml --env-file .env up -d
87+
docker compose -f docker-compose.prod.deploy.yml pull
88+
docker compose -f docker-compose.prod.deploy.yml up -d

0 commit comments

Comments
 (0)