Skip to content

icon: add 21st Anniversary & Mabinogi chair #51

icon: add 21st Anniversary & Mabinogi chair

icon: add 21st Anniversary & Mabinogi chair #51

Workflow file for this run

name: Node.js CI
on:
push:
branches: [source]
pull_request:
branches: [source]
jobs:
build:
runs-on: ubuntu-latest
environment: deploy-site
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- name: Install dependencies
run: yarn --frozen-lockfile --prefer-offline
- name: Set up env
env:
GA4_TOKEN: ${{ secrets.GA4_TOKEN }}
run: bash ./env.sh
- name: Build
run: yarn build
- name: Set build date
run: echo "COMMIT_MSG_BUILD_DATE=$(date "+%b %d %Y")" >> $GITHUB_OUTPUT
id: date
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
branch: master
git-config-name: github-actions[bot]
git-config-email: 41898282+github-actions[bot]@users.noreply.github.com
commit-message: 'GitHub Actions: ${{ steps.date.outputs.COMMIT_MSG_BUILD_DATE }} (Build ${{ github.run_number }})'