Skip to content

Commit

Permalink
polkusäätöä lisää3
Browse files Browse the repository at this point in the history
  • Loading branch information
marjakari committed Nov 13, 2024
1 parent 0f2bd76 commit 755c006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
aws s3 cp --no-progress s3://"$BUCKET"/ga-${{inputs.build-number}}-static.zip ./target/static.zip
unzip ./target/static.zip -d ./target
aws s3 cp --no-progress s3://"$BUCKET"/ga-${{inputs.build-number}}-raportointi-kayttoliittyma.zip ./target/raportointi-kayttoliittyma.zip
unzip ./target/raportointi-kayttoliittyma.zip -d ./target
unzip ./target/raportointi-kayttoliittyma.zip -d ./viestinvalitys-raportointi
# mkdir -p ./target/static/_next
# cp -R ./target/viestinvalitys-raportointi/.next/static ./target/static/_next/static

Expand Down
2 changes: 1 addition & 1 deletion cdk/lib/sovellus-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ export class SovellusStack extends cdk.Stack {
*/
const domainName = `https://viestinvalitys.${publicHostedZones[props.environmentName]};`
const nextjs = new Nextjs(this, 'Nextjs', {
nextjsPath: '../target', // relative path from your project root to NextJS
nextjsPath: '../viestinvalitys-raportointi', // relative path from your project root to NextJS
buildCommand: 'pwd && npx --yes open-next@^2 build -- --build-command "npm run noop"',
basePath: '/raportointi',
environment: {
Expand Down

0 comments on commit 755c006

Please sign in to comment.