Skip to content

Commit 5cd6f1d

Browse files
committed
Fix
1 parent 3dc762a commit 5cd6f1d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,13 @@ jobs:
2727
- { name: Setup Pages, uses: actions/configure-pages@v3 }
2828
- { name: Build with Jekyll, uses: actions/jekyll-build-pages@v1, with: { source: ./, destination: ./_site } }
2929
- { name: Check broken links, run: "npx --yes broken-link-checker-local _site --filter-level=3 -e -r" }
30-
- { name: Upload artifact, uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa }
31-
- { name: Deploy to GitHub Pages, uses: actions/deploy-pages@v1 }
30+
- { id: deployment, name: Upload artifact, uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa }
31+
32+
deploy:
33+
environment:
34+
name: github-pages
35+
url: ${{ steps.deployment.outputs.page_url }}
36+
runs-on: ubuntu-latest
37+
needs: build
38+
steps:
39+
- { name: Deploy to GitHub Pages, id: deployment, uses: actions/deploy-pages@v4 }

0 commit comments

Comments
 (0)