Skip to content

Deploy with .nojekyll file so the _astro static assets folder is … #5

Deploy with .nojekyll file so the _astro static assets folder is …

Deploy with .nojekyll file so the _astro static assets folder is … #5

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
run: touch ./dist/.nojekyll && pnpm run deploy:site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}