From be85bb1494d453a266b16e1825b00fbeccb372a2 Mon Sep 17 00:00:00 2001 From: sloane Date: Wed, 29 Jan 2025 12:18:14 -0500 Subject: [PATCH] fix: use different names for each deploy artifact --- .github/workflows/publish.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 810ee59..3464267 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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