Skip to content

add missing '/' character for "base" prop in vite.config.ts file #5

add missing '/' character for "base" prop in vite.config.ts file

add missing '/' character for "base" prop in vite.config.ts file #5

Workflow file for this run

name: Deploy content to Github Pages
on:
push:
branches: ['master']
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: true
env:
VITE_BASE_URL: ${{secrets.VITE_BASE_URL}}
VITE_GH_TOKEN: ${{secrets.VITE_GH_TOKEN}}
jobs:
deploy:
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: pnpm-setup
uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install deps
run: pnpm install
- name: Build
run: pnpm build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist'
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v4