[core] Fix Continuous Delivery for Landing Page

This commit is contained in:
ricoberger
2023-09-16 16:12:01 +02:00
parent f9b1a474fd
commit 248c313f11

View File

@@ -44,31 +44,23 @@ jobs:
with:
node-version: "16"
cache: npm
cache-dependency-path: landing/package-lock.json
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Restore Cache
uses: actions/cache@v3
with:
path: |
.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Install Dependencies
run: |
npm install
- name: Build with Next.js
- name: Build
run: |
npm run build
- name: Upload artifact
- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./out
path: ./landing/out
# The "Deploy Landing Page" job deploys our landing page to GitHub Pages.
deploy-landing-page: