Skip to content

Commit

Permalink
Update main-forestgeo-livesite.yml
Browse files Browse the repository at this point in the history
Fixing breaking change in live site deployment
  • Loading branch information
siddheshraze authored Sep 27, 2024
1 parent c77aeff commit 864bc70
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main-forestgeo-livesite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build-app-production:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment: production
environment: development

steps:
- uses: actions/checkout@v4
Expand All @@ -30,6 +30,7 @@ jobs:
echo AZURE_AD_CLIENT_SECRET=${{ secrets.AZURE_AD_CLIENT_SECRET_PRODUCTION }} >> frontend/.env
echo AZURE_AD_CLIENT_ID=${{ secrets.AZURE_AD_CLIENT_ID_PRODUCTION }} >> frontend/.env
echo AZURE_AD_TENANT_ID=${{ secrets.AZURE_AD_TENANT_ID_PRODUCTION }} >> frontend/.env
echo NEXTAUTH_URL=${{ secrets.NEXTAUTH_URL_DEV }} >> frontend/.env
echo NEXTAUTH_SECRET=${{ secrets.NEXTAUTH_SECRET }} >> frontend/.env
echo AZURE_SQL_USER=${{ secrets.AZURE_SQL_USER }} >> frontend/.env
echo AZURE_SQL_PASSWORD=${{ secrets.AZURE_SQL_PASSWORD }} >> frontend/.env
Expand Down Expand Up @@ -85,7 +86,7 @@ jobs:
deploy-app-production:
needs: build-app-production
runs-on: ubuntu-latest
environment: production
environment: development

steps:
- name: Download build artifact
Expand All @@ -102,4 +103,4 @@ jobs:
app-name: 'forestgeo-livesite'
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_PRODUCTION }}
package: frontend/build/standalone
package: frontend/build/standalone

0 comments on commit 864bc70

Please sign in to comment.