chore: Update JamesIves/github-pages-deploy-action action to v4.7.1 (… #100
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Deploy | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run build -- --public-url /sample-breakout | |
# Runs a set of commands using the runners shell | |
- name: Deploy to GitHub Pages | |
# You may pin to the exact commit or the version. | |
# uses: JamesIves/github-pages-deploy-action@164583b9e44b4fc5910e78feb607ea7c98d3c7b9 | |
uses: JamesIves/github-pages-deploy-action@v4.7.1 | |
with: | |
# This is the branch you wish to deploy to, for example gh-pages or docs. | |
branch: gh-pages | |
# The folder in your repository that you want to deploy. If your build script compiles into a directory named build you would put it here. Folder paths cannot have a leading / or ./. If you wish to deploy the root directory you can place a . here. | |
folder: dist | |
# If you would like to push the contents of the deployment folder into a specific directory on the deployment branch you can specify it here. | |
# target-folder: . | |
# If you need to customize the commit message for an integration you can do so. | |
commit-message: Deploy Breakout |