Skip to content

chore(website/yarn.lock): lockfile maintenance #112

chore(website/yarn.lock): lockfile maintenance

chore(website/yarn.lock): lockfile maintenance #112

Workflow file for this run

name: Deploy Github Pages
on:
push:
branches:
- 'master'
- '!beta' # only deploy the website on "master"
- '!gh-pages'
paths: # only run this deploy if an file in the following directories are changed
- 'docs/**'
- 'website/**'
release:
types: [created]
permissions:
contents: read
jobs:
website:
permissions:
contents: write # for JamesIves/github-pages-deploy-action to push changes in repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install & Build
run: bash ./ghPagesPre.sh
- name: Deploy to Github Pages
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: . # the root, because the provided script already moves files
git-config-email: <> # disable gh-pages commits to have a email assigned to them
git-config-name: 'actions-deploy' # set a custom name, so that the original author of the commit that triggered the website build is not associated with this commit, which was not made by them