Skip to content

Commit 680a4db

Browse files
Uncomment the whole deploy step
1 parent faca70b commit 680a4db

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

.github/workflows/deploy.yaml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,22 +48,21 @@ jobs:
4848
POSTGRES_DB: ${{ secrets.POSTGRES_DB }}
4949
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
5050
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
51-
run: kamal details -q
52-
# run: ./kamal.sh envify
53-
#
54-
# - name: Build and push
55-
# run: |
56-
# ./kamal.sh registry login
57-
# ./kamal.sh build push --version=${{ github.sha }}
58-
#
59-
# - name: Migrations
60-
# run: |
61-
# ./kamal.sh build pull --version=${{ github.sha }}
62-
# ./kamal.sh app exec --version=${{ github.sha }} 'java -jar standalone.jar migrations'
63-
#
64-
# - name: Deploy
65-
# run: ./kamal.sh deploy --skip-push --version=${{ github.sha }}
66-
#
67-
# - name: Kamal Release
68-
# if: ${{ cancelled() }}
69-
# run: ./kamal.sh lock release
51+
run: ./kamal.sh envify
52+
53+
- name: Build and push
54+
run: |
55+
./kamal.sh registry login
56+
./kamal.sh build push --version=${{ github.sha }}
57+
58+
- name: Migrations
59+
run: |
60+
./kamal.sh build pull --version=${{ github.sha }}
61+
./kamal.sh app exec --version=${{ github.sha }} 'java -jar standalone.jar migrations'
62+
63+
- name: Deploy
64+
run: ./kamal.sh deploy --skip-push --version=${{ github.sha }}
65+
66+
- name: Kamal Release
67+
if: ${{ cancelled() }}
68+
run: ./kamal.sh lock release

0 commit comments

Comments
 (0)