Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #43 from Jam3/feature/deploy
Browse files Browse the repository at this point in the history
Feature/deploy
  • Loading branch information
ameliemaia authored Dec 17, 2021
2 parents 4112b31 + 0fdca9f commit 981b78e
Show file tree
Hide file tree
Showing 29 changed files with 494 additions and 40 deletions.
Binary file removed .DS_Store
Binary file not shown.
3 changes: 2 additions & 1 deletion coop-webgl-gallery-2021/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ BUNDLE_ANALYZE=false
ENABLE_PWA=false

# custom env key
NEXT_PUBLIC_WEBSITE_SITE_URL="https://localhost:3000"
NEXT_PUBLIC_WEBSITE_SITE_URL="https://jam3.github.io/intern-webgl-gallery"
NEXT_PUBLIC_ENVIRONMENT="local"
NEXT_PUBLIC_COMMIT_ID="commit-id"
NEXT_PUBLIC_PR_NUMBER="major"
Expand All @@ -12,6 +12,7 @@ NEXT_PUBLIC_BUILD_TIME="YYYY/MM/DD"
NEXT_PUBLIC_PULL_REQUEST=""
NEXT_PUBLIC_BUILD_ID=""
NEXT_PUBLIC_GTM_ID="GTM-0000000"
NEXT_PUBLIC_URL=""

OPTIMIZE_IMAGES=false

Expand Down
1 change: 1 addition & 0 deletions coop-webgl-gallery-2021/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ NEXT_PUBLIC_BUILD_TIME=$CI_STRING_TIME
NEXT_PUBLIC_PULL_REQUEST=$CI_PULL_REQUEST
NEXT_PUBLIC_BUILD_ID=$CI_BUILD_ID
NEXT_PUBLIC_GTM_ID=$GTM_ID
NEXT_PUBLIC_URL="/intern-webgl-gallery"

OPTIMIZE_IMAGES=true
Empty file.
1 change: 1 addition & 0 deletions coop-webgl-gallery-2021/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const nextJSConfig = {
sassOptions: {
includePaths: [path.join(__dirname, 'src/styles')]
},
basePath: process.env.NEXT_PUBLIC_URL,
webpack: function (config, options) {
config.module.rules.push({
test: /\.svg$/,
Expand Down
Loading

0 comments on commit 981b78e

Please sign in to comment.