Skip to content

fix publishment

fix publishment #16

Workflow file for this run

on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/setup-node@main
with:
node-version: lts/*
- name: build clrc
run: |
npm ci
npm run build
- name: build playground and deploy to pages
run: |
cd playground
npm install --legacy-peer-deps
npm run build
cd build
git init
git config --local user.name mebtte
git config --local user.email [email protected]
git remote add origin https://${{secrets.ACCESS_TOKEN}}@github.com/mebtte/clrc.git
git switch -c gh-pages
git add -A
git commit -m "auto deploy"
git push origin gh-pages -f