Skip to content

Commit e5c7449

Browse files
committed
Hook in PR preview so we can see the pages before merge.
1 parent 379643e commit e5c7449

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/publish_docs.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
uses: 'actions/upload-pages-artifact@v3'
2323
with:
2424
path: 'generated-pages'
25+
- name: 'Deploy GitHub Pages Preview'
26+
if: github.ref == 'refs/heads/main'
27+
uses: rossjrw/pr-preview-action@v1
28+
with:
29+
source-dir: ./generated-pages/
2530
deploy:
2631
if: github.ref == 'refs/heads/main'
2732
environment:

docs/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# GitHub Source Solutions
2+
3+
* [Google Specifc SemGrep Rules](semgrep-rules)

0 commit comments

Comments
 (0)