Compare commits
2 commits
fe86028d7a
...
06f0488c31
Author | SHA1 | Date | |
---|---|---|---|
06f0488c31 | |||
be85bb1494 |
1 changed files with 10 additions and 2 deletions
12
.github/workflows/publish.yaml
vendored
12
.github/workflows/publish.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue