Skip to content

Upgrade to astro 3 and typescript 5.2 #20

Upgrade to astro 3 and typescript 5.2

Upgrade to astro 3 and typescript 5.2 #20

Workflow file for this run

name: Deploy Site
on:
push:
branches:
- master
jobs:
deploy:
name: Build & Deploy
runs-on: ubuntu-latest
env:
CI: true
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Set up PNPM
uses: pnpm/action-setup@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: 'pnpm'
- name: Install Dependencies
run: pnpm i
- name: Build site
run: pnpm build:site
- name: Deploy site
# Create a `.nojekyll` file so the `_astro` folder gets deployed
# https://github.blog/2009-12-29-bypassing-jekyll-on-github-pages/
run: touch ./site/dist/.nojekyll && pnpm run deploy:site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}