Skip to content

Merge branch 'gh-pages' of github.com:RoboPIL/code-diffuser into gh-p… #7

Merge branch 'gh-pages' of github.com:RoboPIL/code-diffuser into gh-p…

Merge branch 'gh-pages' of github.com:RoboPIL/code-diffuser into gh-p… #7

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 }}