test new build
Some checks failed
Build and Deploy docker container / build (push) Failing after 1m50s
Some checks failed
Build and Deploy docker container / build (push) Failing after 1m50s
This commit is contained in:
parent
1230e8d9f3
commit
43e4aed2db
@ -6,16 +6,16 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Send message job is starting
|
||||
uses: cstuder/apprise-ga@master
|
||||
with:
|
||||
title: 'jonb.io site deployment'
|
||||
message: >-
|
||||
Started build for:
|
||||
Commit by {{ head_commit.author.name }}: {{ head_commit.message |
|
||||
truncate(128) }} ({{ head_commit.id[0:7] }})
|
||||
env:
|
||||
APPRISE_URL: '${{ secrets.APPRISE_URL }}'
|
||||
# - name: Send message job is starting
|
||||
# uses: cstuder/apprise-ga@master
|
||||
# with:
|
||||
# title: 'jonb.io site deployment'
|
||||
# message: >-
|
||||
# Started build for:
|
||||
# Commit by {{ head_commit.author.name }}: {{ head_commit.message |
|
||||
# truncate(128) }} ({{ head_commit.id[0:7] }})
|
||||
# env:
|
||||
# APPRISE_URL: '${{ secrets.APPRISE_URL }}'
|
||||
- name: Checkout main
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Yarn
|
||||
@ -34,8 +34,7 @@ jobs:
|
||||
with:
|
||||
path: |
|
||||
${{ steps.yarn-cache-dir-path.outputs.dir }}
|
||||
${{ github.workspace }}/.next/cache
|
||||
${{ github.workspace }}/.yarn/cache
|
||||
${{ github.workspace }}/.next/
|
||||
key: '${{ runner.os }}-yarn-${{ hashFiles(''**/yarn.lock'') }}'
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
@ -44,7 +43,7 @@ jobs:
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
- name: Build app and export to ./out
|
||||
run: EXPORT=0 UNOPTIMIZED=1 yarn build
|
||||
run: yarn build
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to Docker Hub
|
||||
|
@ -54,7 +54,7 @@ const securityHeaders = [
|
||||
},
|
||||
]
|
||||
|
||||
const output = process.env.EXPORT ? 'export' : 'standalone'
|
||||
const output = process.env.EXPORT ? 'export' : undefined
|
||||
const basePath = process.env.BASE_PATH || undefined
|
||||
const unoptimized = process.env.UNOPTIMIZED ? true : undefined
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user