Skip to content

Commit

Permalink
Merge pull request #78 from Asadaaaaa/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
Asadaaaaa authored Oct 6, 2023
2 parents 462d90b + 2c52845 commit 9cef448
Show file tree
Hide file tree
Showing 203 changed files with 18,744 additions and 409 deletions.
2 changes: 2 additions & 0 deletions .env.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NEXT_PUBLIC_HOST=
NEXT_PUBLIC_VERSION=
6 changes: 3 additions & 3 deletions .github/workflows/cd-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd sersow/main/sersow-view
git fetch
cd app/sersow/web/production
git reset --hard HEAD
git pull origin main
npm i
npm run build
pm2 restart main-sersow-view
pm2 restart sersow-web-production
6 changes: 3 additions & 3 deletions .github/workflows/cd-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd sersow/staging/sersow-view
git fetch
cd app/sersow/web/staging
git reset --hard HEAD
git pull origin staging
npm i
npm run build
pm2 restart stg-sersow-view
pm2 restart sersow-web-staging
14 changes: 12 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
/** @type {import('next').NextConfig} */

const nextConfig = {
experimental: {
appDir: true,
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '*',
},
{
protocol: 'http',
hostname: '*',
},
],
},
}

Expand Down
Loading

0 comments on commit 9cef448

Please sign in to comment.