Skip to content

Commit

Permalink
trying a new approach
Browse files Browse the repository at this point in the history
  • Loading branch information
siddheshraze committed Aug 23, 2024
1 parent f33a035 commit a2273b2
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/main-forestgeo-livesite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,12 @@ jobs:
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_DEVELOPMENT }}
package: ./frontend/build/standalone

build-docs:
build-docs-deploy-docs:
runs-on: ubuntu-latest
needs: build-app
needs: deploy-app
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -185,14 +188,6 @@ jobs:
artifacts/${{ env.ARTIFACT }}
artifacts/report.json # Ensure report.json is included
retention-days: 7

deploy-docs:
needs: build-docs
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Download documentation artifact
uses: actions/download-artifact@v4
with:
Expand All @@ -211,4 +206,4 @@ jobs:

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4

0 comments on commit a2273b2

Please sign in to comment.