Skip to content

Commit

Permalink
Test 7
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertClo committed Aug 10, 2024
1 parent 4f6d7b4 commit 8681ffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
env:
HOST: ec2-user@${{ secrets.AWS_INSTANCE_IP }}
run: |
ssh -o StrictHostKeyChecking=accept-new $HOST "
ssh -o StrictHostKeyChecking=accept-new -i ~/.ssh/id_rsa [email protected] "
sudo mkdir -p /opt/albertclo.com &&
sudo chown -R ec2-user:ec2-user /opt/albertclo.com &&
cd /opt/albertclo.com &&
Expand All @@ -38,7 +38,7 @@ jobs:
git checkout main &&
git fetch origin &&
git reset --hard origin/main &&
docker-compose --env-file .env -f infra/docker/docker-compose.yml up -d &&
docker-compose --env-file .env -f infra/docker/docker-compose.yml up -d
docker-compose --env-file .env -f infra/docker/docker-compose.yml exec php composer install &&
docker-compose --env-file .env -f infra/docker/docker-compose.yml exec php php artisan migrate &&
echo 'done'"

0 comments on commit 8681ffc

Please sign in to comment.