Skip to content

Merge pull request #89 from FPGA-MAFIA/NoamRahat-patch-1 #156

Merge pull request #89 from FPGA-MAFIA/NoamRahat-patch-1

Merge pull request #89 from FPGA-MAFIA/NoamRahat-patch-1 #156

Workflow file for this run

name: Deploy Docusaurus to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: yarn install
- name: Build the project
run: yarn build
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.
token: ${{ secrets.GITHUB_TOKEN }} # GitHub automatically creates a GITHUB_TOKEN secret to use in your workflow.