Skip to content

Bump pg from 8.11.5 to 8.12.0 in /strapi #2984

Bump pg from 8.11.5 to 8.12.0 in /strapi

Bump pg from 8.11.5 to 8.12.0 in /strapi #2984

Workflow file for this run

name: Nextjs CI
on: [push, pull_request, workflow_dispatch]
defaults:
run:
working-directory: nextjs
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run build
deploy:
if: github.actor != 'dependabot[bot]' && github.ref != 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir .vercel
echo $VERCEL_PROJECT > .vercel/project.json
npx vercel --token $VERCEL_TOKEN
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_PROJECT: ${{ secrets.VERCEL_PROJECT }}
deployToProduction:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir .vercel
echo $VERCEL_PROJECT > .vercel/project.json
npx vercel --prod --token $VERCEL_TOKEN
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_PROJECT: ${{ secrets.VERCEL_PROJECT }}
forceDeploy:
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir .vercel
echo $VERCEL_PROJECT > .vercel/project.json
npx vercel --force --token $VERCEL_TOKEN
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_PROJECT: ${{ secrets.VERCEL_PROJECT }}