Skip to content

Merge pull request #107 from LibrariesHacked/106-auto-publish-using-g… #1

Merge pull request #107 from LibrariesHacked/106-auto-publish-using-g…

Merge pull request #107 from LibrariesHacked/106-auto-publish-using-g… #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "latest"
- run: npm install
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy -- -u "github-actions-bot <support+actions@github.com>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}