1 parent c3380b5 commit 222cff5Copy full SHA for 222cff5
1 file changed
.github/workflows/deploy.yml
@@ -31,6 +31,14 @@ jobs:
31
uses: actions/checkout@v4
32
- name: Setup Pages
33
uses: actions/configure-pages@v4
34
+ - name: Add footer to README
35
+ run: |
36
+ echo "" >> README.md
37
+ echo "---" >> README.md
38
39
+ TIMESTAMP=$(date -u '+%Y-%m-%d %H:%M:%S UTC')
40
+ SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
41
+ echo "*Last updated: $TIMESTAMP | [${SHORT_SHA}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})*" >> README.md
42
- name: Upload artifact
43
uses: actions/upload-pages-artifact@v3
44
with:
0 commit comments