Skip to content

Merge pull request #17 from LibrariesHacked/dependabot/npm_and_yarn/r… #22

Merge pull request #17 from LibrariesHacked/dependabot/npm_and_yarn/r…

Merge pull request #17 from LibrariesHacked/dependabot/npm_and_yarn/r… #22

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 }}