Skip to content

Update website.yml

Update website.yml #11

Workflow file for this run

name: Node.js CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
# - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v1
# with:
# node-version: ${{ matrix.node-version }}
- run: npm install
working-directory: website
- run: npm run build export NODE_OPTIONS=--openssl-legacy-provider --if-present
working-directory: website
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
TOKEN: ${{ github.token }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: .website/dist # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch