Add meta.json shenanigans (hopefully to prevent the action from auto-disabling)

This commit is contained in:
William Powe 2025-04-04 19:19:59 -04:00 committed by GitHub
parent 5d012097e7
commit 479dbf2371
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -209,3 +209,27 @@ jobs:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v4 uses: actions/deploy-pages@v4
update-meta-done:
name: Update meta
runs-on: ubuntu-latest
needs: [deploy-site]
permissions:
contents: write
steps:
- name: Checkout meta branch
uses: actions/checkout@v4
with:
ref: meta
- name: Update meta.json
run: |
echo -n \{\"last_deployed\":\"$(date --iso-8601=seconds -u)\"\} > meta.json
- name: Push meta.json
run: |
git config user.name "Quatalog Updater"
git config user.email "github_actions@quatalog.com"
git add meta.json
git commit -m "$(date)" || exit 0
git push