Skip to content

build(deps): bump lodash from 4.17.21 to 4.17.23 in the npm_and_yarn group across 1 directory #14

build(deps): bump lodash from 4.17.21 to 4.17.23 in the npm_and_yarn group across 1 directory

build(deps): bump lodash from 4.17.21 to 4.17.23 in the npm_and_yarn group across 1 directory #14

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- develop
pull_request:
branches:
- develop
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "yarn"
- name: Setup Pages
uses: actions/configure-pages@v4
with:
static_site_generator: next
enablement: true
- name: Install dependencies
run: yarn install
- name: Build with Next.js
run: yarn build
env:
NODE_ENV: production
GITHUB_ACTIONS: true
- name: Debug - List all directories
run: |
echo "Current directory:"
pwd
echo "Directory contents:"
ls -la
echo "Looking for out directory:"
ls -la ./out 2>/dev/null || echo "out not found"
echo "Looking for .next directory:"
ls -la ./.next 2>/dev/null || echo ".next not found"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/develop'
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4