Skip to content

Merge pull request #398 from GoogleChromeLabs/Abhay-FinalReport #379

Merge pull request #398 from GoogleChromeLabs/Abhay-FinalReport

Merge pull request #398 from GoogleChromeLabs/Abhay-FinalReport #379

Workflow file for this run

name: Build and deploy to GitHub Pages
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: write
jobs:
deploy:
name: Build and deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- name: Check out this repo
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: npm install and build
run: |
npm install
npm run build
- name: deploy _site to gh-pages
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: _site
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}