Skip to content

Commit

Permalink
attempting to add development livesite job to test without needing to…
Browse files Browse the repository at this point in the history
… commit to main
  • Loading branch information
siddheshraze committed Jun 21, 2024
1 parent 18f7b1d commit 776cce4
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/main-forestgeo-livesite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches:
- main
- forestgeo-app-aardvark
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -67,11 +68,22 @@ jobs:
mv ./frontend/public ./frontend/build/standalone
mv ./frontend/*.pem ./frontend/build/standalone/
- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
- name: 'Deploy to Azure Web App (main)'
id: deploy-to-webapp-main
if: github.ref == 'refs/heads/main'
uses: azure/webapps-deploy@v2
with:
app-name: 'forestgeo-livesite'
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_852346BD764D45D08854E6679137F844 }}
package: ./frontend/build/standalone

- name: 'Deploy to Azure Web App (aardvark)'
id: deploy-to-webapp-aardvark
if: github.ref == 'refs/heads/forestgeo-app-aardvark'
uses: azure/webapps-deploy@v2
with:
app-name: 'forestgeo-livesite-development'
slot-name: 'development'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_DEVELOPMENT }}
package: ./frontend/build/standalone

0 comments on commit 776cce4

Please sign in to comment.