Skip to content

Commit

Permalink
Encrypt people page (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
choldgraf authored Sep 1, 2024
1 parent 8daff9e commit 7b1a96f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-python@v2
- uses: actions/setup-node@v2
- name: Setup Pages
uses: actions/configure-pages@v2


# Install dependencies
- run: pip install -r requirements.txt
# This lets us encrypt a page with a password
- name: Install staticrypt
run: |
npm install -g staticrypt
# Download the latest AirTable community data
- run: python book/scripts/download_airtable_data.py
Expand All @@ -64,6 +69,9 @@ jobs:
env:
AIRTABLE_API_KEY: ${{ secrets.AIRTABLE_API_KEY }}

# Encrypt pages that are only meant for team consumption
- run: staticrypt book/_build/dirhtml/people/index.html -p ${{ secrets.STATICRYPT_PASSWORD }} -d book/_build/dirhtml/people/ --short;

# Upload to GH Pages
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down
1 change: 1 addition & 0 deletions book/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ Below is a breakdown of the categories above with more information about their s
cloud
upstream
finances
people
```
3 changes: 3 additions & 0 deletions book/people.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# People operations

This is just a test to see if the page is properly encrypted!

0 comments on commit 7b1a96f

Please sign in to comment.