diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 94b50b1..55fb3b3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: