Skip to content

Pd 2804 rc (#1441) #243

Pd 2804 rc (#1441)

Pd 2804 rc (#1441) #243

Workflow file for this run

name: Deploy WARP Website
on:
push:
branches:
- develop
paths:
- website/**
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup NodeJS
uses: actions/setup-node@v2
with:
node-version: '16.14.2'
- name: Cache node_modules
uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
- name: Install and Build
run: yarn --cwd=website install && yarn --cwd=website build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
BRANCH: gh-pages
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FOLDER: website/build