We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9294a12 commit d0b0990Copy full SHA for d0b0990
.github/workflows/deploy-staging.yml
@@ -19,21 +19,19 @@ jobs:
19
key: ${{ secrets.AWS_EC2_PRIVATE_KEY }}
20
port: 22
21
script: |
22
- echo "👀 deploy started"
23
- echo " "
24
echo "🔨 updating repository"
25
26
cd /home/ubuntu/repository
27
eval `ssh-agent -s`
28
ssh-add ~/.ssh/github_action
29
git checkout development -f
30
git fetch
31
git pull
32
- echo "📦 building docker image"
33
echo " "
+ echo "📦 building docker image"
34
DOCKER_BUILDKIT=1 docker build -t spring-crud-api:development .
35
- echo "🚨 restarting container"
36
+ echo "🚨 restarting container"
37
cd /home/ubuntu
38
docker-compose up -d --force-recreate
+ echo " "
39
echo "🚀 deploy finished"
0 commit comments