We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1466ae commit a63c4eaCopy full SHA for a63c4ea
1 file changed
.github/workflows/website.yaml
@@ -53,6 +53,7 @@ jobs:
53
uses: actions/upload-pages-artifact@v3
54
with:
55
name: github-pages
56
+ retention-days: 7
57
path: docs/build/html/
58
59
deploy:
@@ -75,3 +76,20 @@ jobs:
75
76
77
artifact_name: github-pages
78
preview: true
79
+
80
+ post-page-artifact:
81
+ if: ${{ github.event_name == 'pull_request' }}
82
+ needs: build
83
+ runs-on: ubuntu-latest
84
+ permissions:
85
+ contents: read
86
+ pull-requests: write
87
+ steps:
88
+ - name: Checkout
89
+ uses: actions/checkout@v4
90
91
+ - name: Post comment preview
92
+ uses: CDCgov/cfa-actions/post-artifact@v1.0.0
93
+ with:
94
+ artifact-name: github-pages
95
+ gh-token: ${{ secrets.GITHUB_TOKEN}}
0 commit comments