Skip to content

Commit

Permalink
Merge pull request #504 from ntampakas/fix_ephemeral
Browse files Browse the repository at this point in the history
Fix broken GH URL
  • Loading branch information
vplasencia authored May 17, 2024
2 parents 3354c1f + 31bd9a5 commit 3982be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/cloud-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ apt-get update
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
usermod -aG docker ubuntu

su -P ubuntu -c "git clone -b $Branch --single-branch https://github.com/ntampakas/$Repo.git /home/ubuntu/$Repo"
su -P ubuntu -c "git clone -b $Branch --single-branch https://github.com/bandada-infra/$Repo.git /home/ubuntu/$Repo"
su -P ubuntu -c "cp /home/ubuntu/$Repo/apps/api/.env.example /home/ubuntu/$Repo/apps/api/.env"
su -P ubuntu -c "sed -i 's/\(DB_TYPE=\).*/\1postgres/' /home/ubuntu/$Repo/apps/api/.env"
su -P ubuntu -c "sed -i 's/\(DB_URL=\).*/\1postgres:\/\/root:helloworld\@postgres:5432\/bandada/' /home/ubuntu/$Repo/apps/api/.env"
Expand Down

0 comments on commit 3982be9

Please sign in to comment.