Skip to content

Merge pull request #6 from LibrariesHacked/3-create-page-for-building… #12

Merge pull request #6 from LibrariesHacked/3-create-page-for-building…

Merge pull request #6 from LibrariesHacked/3-create-page-for-building… #12

Workflow file for this run

name: Deploy to GH Pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- 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 <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}