Skip to content

Rebuild docs on tag

Rebuild docs on tag #1

Workflow file for this run

name: Build and publish a release
on:
push:
tags: ["*"]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Build the package
run: |
npm install
npm run build
rm -rf node_modules
- name: Archive the built package
uses: TheDoctor0/zip-release@0.7.6
with:
type: zip
filename: release.zip
- name: Create a release and publish the archive
uses: ncipollo/release-action@v1.14.0
with:
artifacts: release.zip
token: ${{ secrets.GITHUB_TOKEN }}