Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Windows safe

Windows safe #847

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: [ ubuntu-latest ]
timeout-minutes: 15
steps:
- name: Reset permissions
run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
- name: Install yarn
run: npm install -g yarn
- name: Build
run: |
yarn
yarn build
- name: Build and Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.
- name: Uninstall yarn
run: npm uninstall -g yarn