Skip to content

Commit 64a474e

Browse files
committed
ci: add pkg-new-new
1 parent 40ce4f1 commit 64a474e

2 files changed

Lines changed: 4 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- main
1010

1111
jobs:
12-
check:
12+
ci:
1313
runs-on: ubuntu-latest
1414
env:
1515
GITHUB_TOKEN: ${{ secrets.GitHub_TOKEN }}
@@ -41,6 +41,6 @@ jobs:
4141
run: |
4242
pnpm build
4343
44-
# - name: Run Test
45-
# run: |
46-
# pnpm test
44+
- name: Run pkg-pr-new publish
45+
if: github.event_name == 'pull_request'
46+
run: pnpx pkg-pr-new publish

.github/workflows/docs.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,6 @@ jobs:
5959
with:
6060
path: docs/.vitepress/dist
6161

62-
# Deployment job
63-
deploy:
64-
environment:
65-
name: github-pages
66-
url: ${{ steps.deployment.outputs.page_url }}
67-
needs: build
68-
runs-on: ubuntu-latest
69-
name: Deploy
70-
steps:
7162
- name: Deploy to GitHub Pages
7263
id: deployment
7364
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)