Skip to content

Commit 9fc38bd

Browse files
committed
Revert "ci: require successful build before deployment"
This reverts commit d4b2343.
1 parent d4b2343 commit 9fc38bd

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,14 @@ on:
44
push:
55
branches:
66
- master
7-
- develop
8-
pull_request:
9-
branches:
10-
- master
117

128
concurrency:
13-
group: deploy-docs-${{ github.ref }}
9+
group: deploy-docs
1410
cancel-in-progress: true
1511

1612
jobs:
17-
build:
18-
name: Build site
13+
deploy:
14+
name: Deploy to GitHub Pages
1915
runs-on: ubuntu-latest
2016
steps:
2117
- uses: actions/checkout@v4
@@ -35,25 +31,6 @@ jobs:
3531
- name: Build website
3632
run: pnpm run build
3733

38-
- name: Upload build artifact
39-
uses: actions/upload-artifact@v4
40-
with:
41-
name: site-build
42-
path: ./build
43-
retention-days: 1
44-
45-
deploy:
46-
name: Deploy to GitHub Pages
47-
needs: build
48-
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
49-
runs-on: ubuntu-latest
50-
steps:
51-
- name: Download build artifact
52-
uses: actions/download-artifact@v4
53-
with:
54-
name: site-build
55-
path: ./build
56-
5734
- name: Deploy to GitHub Pages
5835
uses: peaceiris/actions-gh-pages@v4
5936
with:

0 commit comments

Comments
 (0)