dependencies(tslib): upgrade to version 2.6.1 #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |