We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc79d12 commit a693ea5Copy full SHA for a693ea5
.github/workflows/deploy.yaml
@@ -46,6 +46,11 @@ jobs:
46
echo "Pulling latest changes..."
47
git pull origin ${{ github.ref_name }}
48
49
+ if [[ "${{ github.ref}}" == "refs/heads/main" ]]; then
50
+ echo "NEXT_PUBLIC_BACKEND_HOST=https://api.musiccpr.org" >> .env.production
51
+ echo "NEXTAUTH_URL=https://musiccpr.org" >> .env.production
52
+ fi
53
+
54
echo "Stopping and removing old container"
55
docker stop ${{ env.CONTAINER_NAME }}|| true
56
docker rm ${{ env.CONTAINER_NAME }}|| true
0 commit comments