fix: use different names for each deploy artifact
Some checks are pending
Build and publish / build-and-deploy (push) Waiting to run

This commit is contained in:
sloane 2025-01-29 12:18:14 -05:00
parent f829597f12
commit be85bb1494
Signed by: sloanelybutsurely
SSH key fingerprint: SHA256:8SBnwhl+RY3oEyQxy1a9wByPzxWM0x+/Ejc+sIlY5qQ

View file

@ -39,7 +39,11 @@ 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 }}"
@ -47,7 +51,11 @@ jobs:
- 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