Fix playroom build
by making favicon path relative to webpack config
#305
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Preview site | |
on: | |
push: | |
branches-ignore: | |
- master | |
jobs: | |
preview: | |
name: Build & deploy | |
runs-on: ubuntu-latest | |
env: | |
CI: true | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Set up pnpm | |
uses: pnpm/[email protected] | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: 'package.json' | |
cache: 'pnpm' | |
- name: Install Dependencies | |
run: pnpm i | |
- name: Build | |
run: pnpm build:themed | |
- name: Deploy to surge | |
run: pnpm deploy-preview -d playroom--${GITHUB_SHA}.surge.sh | |
env: | |
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }} | |
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} | |
- name: Update PR status | |
run: pnpm post-commit-status | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |