Skip to content

Commit 181469e

Browse files
committed
ci: use single job
1 parent b80f350 commit 181469e

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/pages.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
jobs:
22-
build:
22+
deploy:
2323
runs-on: ubuntu-latest
24+
environment:
25+
name: github-pages
26+
url: ${{ steps.deployment.outputs.page_url }}
2427
steps:
2528
- name: Checkout
2629
uses: actions/checkout@v6
@@ -52,13 +55,6 @@ jobs:
5255
name: github-pages
5356
path: ${{ runner.temp }}/github-pages.tar.gz
5457

55-
deploy:
56-
needs: build
57-
runs-on: ubuntu-latest
58-
environment:
59-
name: github-pages
60-
url: ${{ steps.deployment.outputs.page_url }}
61-
steps:
6258
- name: Deploy to GitHub Pages
6359
id: deployment
6460
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)