Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/deploy-feature-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Build data
run: |
python scripts/build_data.py
- name: Place public files
run: |
cp public/robots-staging.txt _site/robots.txt
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v3.x
- name: Push data build to S3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-to-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ jobs:
- name: Build data
run: |
python scripts/build_data.py
- name: Place public files
run: |
cp public/robots-prod.txt _site/robots.txt
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
- name: Build data
run: |
python scripts/build_data.py
- name: Place public files
run: |
cp public/robots-staging.txt _site/robots.txt
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
Expand Down
2 changes: 2 additions & 0 deletions public/robots-prod.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /
2 changes: 2 additions & 0 deletions public/robots-staging.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /