Skip to content

Commit ae747b3

Browse files
committed
make pages deploy part of publish step
1 parent 76bd273 commit ae747b3

1 file changed

Lines changed: 1 addition & 19 deletions

File tree

.github/workflows/all.yml

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -71,27 +71,9 @@ jobs:
7171
env:
7272
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7373
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
74-
deploy-pages:
75-
needs: [publish]
76-
name: Build pages
77-
runs-on: ubuntu-latest
78-
if: github.ref == 'refs/heads/master'
79-
steps:
80-
- name: Checkout
81-
uses: actions/checkout@v1
82-
- uses: pnpm/action-setup@v2.0.1
83-
with:
84-
version: 6.16.0
85-
- name: Setup node
86-
uses: actions/setup-node@v2
87-
with:
88-
node-version: "18"
89-
cache: "pnpm"
90-
- name: Build package
91-
run: pnpm install && pnpm run build
9274
- name: Build pages
9375
run: cd pages && pnpm install && pnpm run build
94-
- name: Deploy
76+
- name: Deploy pages
9577
uses: JamesIves/github-pages-deploy-action@releases/v3
9678
with:
9779
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)