Update deploy.yml

This commit is contained in:
MacRimi 2025-02-14 12:11:55 +01:00 committed by GitHub
parent acfd2565e7
commit d03be91367
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,15 +26,16 @@ jobs:
with: with:
node-version: "20" node-version: "20"
cache: 'npm' cache: 'npm'
cache-dependency-path: 'web/package.json' cache-dependency-path: 'web/package-lock.json'
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v4 uses: actions/configure-pages@v4
- name: Install dependencies and generate lock file - name: Install dependencies
run: | run: |
cd web cd web
npm install npm ci
npm install @tailwindcss/typography
- name: Build with Next.js - name: Build with Next.js
run: | run: |
@ -56,3 +57,4 @@ jobs:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v4 uses: actions/deploy-pages@v4