Skip to content

Trigger Build

Trigger Build #6

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ gh-pages ]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Use Node 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: .
branch: gh-pages
clean: true
clean-exclude: |
.git
.github
token: ${{ secrets.GITHUB_TOKEN }}