Skip to content

Commit 91e862e

Browse files
committed
Add password protection and remove GHG Center content
- Updated quarto-publish.yml to inject password from GitHub secrets - Added localhost bypass for development in auth-check.js - Replaced GHG Center content with NASA Disasters case studies - Cleaned up sidebar navigation in _quarto.yml
1 parent 1537a8c commit 91e862e

45 files changed

Lines changed: 14 additions & 171 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/quarto-publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ on:
22
push:
33
branches:
44
- main
5+
- addContent
6+
workflow_dispatch:
57

68
permissions: write-all
79

@@ -28,6 +30,18 @@ jobs:
2830
- run: pip install -r requirements.txt
2931
- run: quarto render --to html
3032

33+
- name: Inject password into login page
34+
run: |
35+
# Replace {{SITE_PASSWORD}} with actual password from GitHub secret
36+
if [ -f "_site/password-protect.html" ]; then
37+
sed -i "s/{{SITE_PASSWORD}}/${{ secrets.SITE_PASSWORD }}/g" _site/password-protect.html
38+
echo "Password injected successfully"
39+
else
40+
echo "Warning: password-protect.html not found"
41+
fi
42+
env:
43+
SITE_PASSWORD: ${{ secrets.SITE_PASSWORD }}
44+
3145
- name: Publish to GitHub Pages (and render)
3246
uses: quarto-dev/quarto-actions/publish@v2
3347
with:

processing_and_verification_reports/ct-ch4-monthgrid-v2023_Processing and Verification Report.qmd

Lines changed: 0 additions & 9 deletions
This file was deleted.

processing_and_verification_reports/eccodarwin-co2flux-monthgrid-v5_Processing and Verification Report.qmd

Lines changed: 0 additions & 9 deletions
This file was deleted.

processing_and_verification_reports/emit-ch4plume-v1_Processing and Verification Report.qmd

Lines changed: 0 additions & 9 deletions
This file was deleted.

processing_and_verification_reports/epa-ch4emission-grid-v2express_Processing and Verification Report.qmd

Lines changed: 0 additions & 9 deletions
This file was deleted.

processing_and_verification_reports/goes-ch4plume-v1_Processing and Verification Report.qmd

Lines changed: 0 additions & 9 deletions
This file was deleted.

processing_and_verification_reports/gosat-based-ch4budget-yeargrid-v1_Processing and Verification Report.qmd

Lines changed: 0 additions & 9 deletions
This file was deleted.

processing_and_verification_reports/gra2pes-ghg-monthgrid-v1_Processing and Verification Report.qmd

Lines changed: 0 additions & 9 deletions
This file was deleted.

processing_and_verification_reports/influx-testbed-ghg-concentrations_Processing and Verification Report.qmd

Lines changed: 0 additions & 9 deletions
This file was deleted.

processing_and_verification_reports/lam-testbed-ghg-concentrations_Processing and Verification Report.qmd

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)