Skip to content

Commit

Permalink
fix: rename ga
Browse files Browse the repository at this point in the history
  • Loading branch information
arcs- committed Feb 22, 2024
1 parent 31701da commit db6cbd1
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/docs.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: docs
group: release
cancel-in-progress: false

jobs:
Expand All @@ -30,31 +30,39 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pnpm/action-setup@v3

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Install dependencies
run: pnpm install
run: pnpm install --frozen-lockfile

- name: Build
run: |
pnpm build
pnpm docs:build
touch .vitepress/dist/.nojekyll
- name: Publish to npm
shell: bash
run: pnpm -r publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
pnpm -r publish --no-git-checks

- name: Upload docs artifact
uses: actions/upload-pages-artifact@v3
with:
path: .vitepress/dist


# Docs deployment
docs:
environment:
Expand Down

0 comments on commit db6cbd1

Please sign in to comment.