Skip to content

Commit 43e9b11

Browse files
committed
Fix order
1 parent f6bbf09 commit 43e9b11

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ jobs:
4343
pnpm build
4444
pnpm lint
4545
pnpm test
46+
- name: Build Landing
47+
run: pnpm -F landing build
48+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
49+
- name: Upload artifact
50+
uses: actions/upload-pages-artifact@v3
51+
with:
52+
path: ./apps/landing/out
53+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
54+
- uses: actions/deploy-pages@v4
55+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
4656
- name: Upload to codecov.io
4757
uses: codecov/codecov-action@v5
4858
with:
@@ -56,13 +66,3 @@ jobs:
5666
env:
5767
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5868
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
59-
- name: Build Landing
60-
run: pnpm -F landing build
61-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
62-
- name: Upload artifact
63-
uses: actions/upload-pages-artifact@v3
64-
with:
65-
path: ./apps/landing/out
66-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
67-
- uses: actions/deploy-pages@v4
68-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)