Skip to content

v0.0.61

v0.0.61 #124

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "20"
- run: npm ci
- name: Deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
npm run predeploy
# push to gh-pages branch
git checkout -b gh-pages
mv cosmos-export docs
git add -f docs
git commit -m "Deploy"
git push -f origin gh-pages