Skip to content

Commit c3bb66e

Browse files
committed
github: split workflow
1 parent 0692b22 commit c3bb66e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
pages: write
1515
id-token: write
1616
jobs:
17-
build:
17+
build-jekyll:
1818
runs-on: ubuntu-latest
1919
environment:
2020
name: github-pages
@@ -46,6 +46,13 @@ jobs:
4646
ADD_JEKYLL_ARGS: --baseurl "${{ steps.pages.outputs.base_path }}"
4747
- name: Upload Artifacts
4848
uses: actions/upload-pages-artifact@v1
49+
deploy:
50+
runs-on: ubuntu-latest
51+
needs: build-jekyll
52+
environment:
53+
name: github-pages
54+
url: ${{steps.deployment.outputs.page_url}}
55+
steps:
4956
- name: Deploy to GitHub Pages
5057
id: deployment
5158
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)