Compare commits

...

2 commits

View file

@ -39,16 +39,24 @@ jobs:
git config user.email "actions@github.com"
- run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
- uses: actions/upload-pages-artifact@v3
with:
name: github-pages-publish-1
- uses: actions/deploy-pages@v4
with:
artifact_name: github-pages-publish-1
- run: |
git add _data/webmention_io_*
git diff --staged --quiet || git commit -m "publish: ${{ github.sha }}"
git diff --staged --quiet || git commit -m "publish: collect webmentions for ${{ github.sha }}"
git push origin main
- run: bundle exec jekyll webmention
- run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
- uses: actions/upload-pages-artifact@v3
with:
name: github-pages-publish-2
- uses: actions/deploy-pages@v4
with:
artifact_name: github-pages-publish-1
- run: |
git add _data/webmention_io_*
git diff --staged --quiet || git commit --amend --no-edit
git diff --staged --quiet || git commit -m "publish: update webmentions for ${{ github.sha }}"
git push origin main --force-with-lease