Skip to content

fix: main height for no scroll #43

fix: main height for no scroll

fix: main height for no scroll #43

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
run_install: true
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: Build
run: npm run build
- name: ⏫ Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./dist
deploy:
needs: build
runs-on: ubuntu-latest
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: 🪤 Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1