Skip to content

Merge pull request #56 from al/dependabot/npm_and_yarn/tailwindcss-3.… #98

Merge pull request #56 from al/dependabot/npm_and_yarn/tailwindcss-3.…

Merge pull request #56 from al/dependabot/npm_and_yarn/tailwindcss-3.… #98

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
inputs:
ref:
default: main
description: 'Branch, tag or commit SHA1 to build'
required: true
type: string
jobs:
build-and-deploy:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
- name: Install Chromium
run: |
sudo apt-get update
sudo apt-get install -y chromium-browser
- name: Setup pnpm
uses: pnpm/[email protected]
with:
run_install: true
- name: Build the project
env:
PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium-browser
VITE_GTM_ID: ${{ secrets.GTM_ID }}
run: pnpm build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist