Skip to content

Merge branch 'issue/557-initial-page-loading' #35

Merge branch 'issue/557-initial-page-loading'

Merge branch 'issue/557-initial-page-loading' #35

Workflow file for this run

name: Deployment
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy_job:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install Packages
run: yarn install
- name: Lint code
run: yarn run --silent prettier --write --loglevel log "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}"
- name: Build page
run: yarn build
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GH_PAT }}
publish_dir: ./build
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
commit_message: ${{ github.event.head_commit.message }}
publish_branch: gh-pages
cname: beta.piximi.app