Skip to content

Use a utility function to get IP for Playwright server #50

Use a utility function to get IP for Playwright server

Use a utility function to get IP for Playwright server #50

Workflow file for this run

name: Deployer
on:
push:
branches:
- master
env:
FORCE_COLOR: 3
PUBLIC_DISABLE_ANALYTICS: ''
jobs:
deploy:
name: build and deploys
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Lint source
run: pnpm lint
- name: Build app and generate PDF
run: pnpm predeploy
env:
PUBLIC_GA_MEASUREMENT_ID: ${{ vars.PUBLIC_GA_MEASUREMENT_ID }}
PUBLIC_CLARITY_ID: ${{ vars.PUBLIC_CLARITY_ID }}
- name: Deploy to GH Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build