Skip to content

ci: fix website deployment (#1130) #13

ci: fix website deployment (#1130)

ci: fix website deployment (#1130) #13

Workflow file for this run

name: Release
on:
push:
branches: [main]
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: "false"
- name: Setup project
uses: ./.github/actions/setup-project
- name: Install dependencies
run: yarn
- name: Version or release packages
uses: changesets/action@v1
with:
title: "release: version packages"
commit: "release: version packages"
setupGitUser: "false"
publish: "yarn release:publish"
version: "yarn release:version"
env:
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
GITHUB_NAME: ${{ vars.GH_BOT_NAME }}
GITHUB_EMAIL: ${{ vars.GH_BOT_EMAIL }}
NPM_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}