Skip to content

Commit

Permalink
chore: update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Wroud committed Sep 21, 2024
1 parent 343d4c8 commit f803367
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,19 @@ jobs:
node-version: "lts/*"
cache: "yarn"

- uses: actions/configure-pages@v4
- run: yarn install --immutable

- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: build-artifacts
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ inputs.build-run-id }}

- uses: actions/configure-pages@v4
- run: yarn install --immutable

- name: Build
run: yarn run docs:build
working-directory: packages/docs
run: yarn run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
yarn workspaces foreach -A --topological-dev --no-private run ci:git-tag
git push --follow-tags
publish-github:
publish-github-release:
needs: release
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
6 changes: 3 additions & 3 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"vue": "^3"
},
"scripts": {
"docs:dev": "vitepress dev",
"docs:build": "vitepress build",
"docs:preview": "vitepress preview"
"dev": "vitepress dev",
"build": "vitepress build",
"preview": "vitepress preview"
}
}

0 comments on commit f803367

Please sign in to comment.