Skip to content

Lint

Lint #74

name: Publish Website
on:
push:
branches: # triggers on any push to master
- master
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: node --version
- name: Install dependencies
run: yarn install
- name: Setup .env file
run: cp .production.env .env
- name: Build
run: yarn run react-app-rewired --max_old_space_size=8192 build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
cname: solslugs.com