Skip to content

Publish PWA to Github Pages #17

Publish PWA to Github Pages

Publish PWA to Github Pages #17

Workflow file for this run

name: Publish PWA to Github Pages
on:
workflow_dispatch:
permissions:
contents: write
jobs:
Build:
name: Publish PWA to Github Pages
runs-on: ubuntu-latest
steps:
- name: 📦 Checkout project repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 📦 Setup Bun + install deps
uses: ./.github/actions/setup-bun-install
- name: ⚙️ Run Prebuild
run: bunx tailwind -o node_modules/.cache/nativewind/global.css.web.css && bun export
shell: bash
- name: 📱 Publish web app
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist