File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed
Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - name : Free up disk space
16- run : |
17- echo "🔧 Cleaning up disk space to avoid 'no space left' error..."
18- sudo docker system prune -af
19- sudo rm -rf /usr/share/dotnet
20- sudo rm -rf /usr/local/lib/android
21- sudo apt-get clean
22- df -h
23-
2415 - name : Checkout code
2516 uses : actions/checkout@v4
2617
@@ -48,11 +39,11 @@ jobs:
4839 GHCR_REPO=$(echo '${{ github.event.repository.name }}' | tr '[:upper:]' '[:lower:]')
4940 GHCR_TAG=$(
5041 if [[ -n "${{ github.event.inputs.image }}" ]]; then
51- echo "${{ github.event.inputs.image }}"
42+ echo "${{ github.event.inputs.image }}"
5243 elif [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
53- echo "${{ github.sha }}"
44+ echo "${{ github.sha }}"
5445 else
55- echo "dev-${{ github.sha }}"
46+ echo "dev-${{ github.sha }}"
5647 fi
5748 )
5849 DB_USERNAME=${{ secrets.DB_USERNAME }}
8475 key : ${{ secrets.SERVER_SSH_KEY }}
8576 script : |
8677 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
78+ docker compose -f docker-compose.prod.deploy.yml pull
79+ docker compose -f docker-compose.prod.deploy.yml up -d
You can’t perform that action at this time.
0 commit comments