Skip to content

Commit

Permalink
fix action env vars (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Alexander Strømseng authored and GitHub committed Apr 9, 2024
1 parent 2e9becb commit 14f997a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/autoredeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ jobs:
echo "JWT_SECRET=${{ secrets.JWT_SECRET }}" >> .env
echo "TRANSFER_TOKEN_SALT=${{ secrets.TRANSFER_TOKEN_SALT }}" >> .env
# Create .env.production with HOST_URL Frontend
echo "HOST_URL=${{ vars.HOST_URL }}" >> .env.production
echo "INTERNAL_STRAPI_URL=${{ vars.INTERNAL_STRAPI_URL }}" >> .env.production
echo "OUTSIDE_STRAPI_URL=${{ vars.OUTSIDE_STRAPI_URL }}" >> .env.production
- name: Docker build
run: docker-compose build
run: docker-compose build
- name: Docker up
run: docker-compose up -d
run: docker-compose up -d

0 comments on commit 14f997a

Please sign in to comment.