-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab7f73d
commit 0ca3238
Showing
40 changed files
with
104 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: DeployPipeline | ||
|
||
on: | ||
push: | ||
branches: ["pipeline-dev2"] | ||
|
||
jobs: | ||
deploy: | ||
name: Build And Deploy | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Delete .git | ||
run: rm -rf .git | ||
- name: Debug - List Files in Build Directory | ||
run: ls -al ./ | ||
- name: Copy build to EC2 | ||
uses: appleboy/scp-action@master | ||
with: | ||
host: ${{ secrets.EC2_HOST }} | ||
username: ${{ secrets.EC2_USERNAME }} | ||
key: ${{ secrets.EC2_SSH_KEY }} | ||
source: ./ | ||
target: /home/ubuntu/slash/ | ||
overwrite: true | ||
|
||
- name: SSH into EC2 and restart app | ||
uses: appleboy/ssh-action@master | ||
with: | ||
host: ${{ secrets.EC2_HOST }} | ||
username: ${{ secrets.EC2_USERNAME }} | ||
key: ${{ secrets.EC2_SSH_KEY }} | ||
script: | | ||
export NVM_DIR=~/.nvm | ||
source ~/.nvm/nvm.sh | ||
cd ./slash/apps/landing | ||
pm2 stop slash_landing | ||
pm2 delete slash_landing --force | ||
pm2 start yarn --name slash_landing -- start | ||
cd ../admin | ||
pm2 stop slash_admin | ||
pm2 delete slash_admin --force | ||
pm2 start yarn --name slash_admin -- start | ||
cd ../web | ||
pm2 stop slash_web | ||
pm2 delete slash_web --force | ||
pm2 start yarn --name slash_web -- start | ||
cd ../backend | ||
pm2 stop slash_backend | ||
pm2 delete slash_backend --force | ||
pm2 start yarn --name slash_backend -- start | ||
cd ../code_executor | ||
pm2 stop slash_code_executor | ||
pm2 delete slash_code_executor --force | ||
pm2 start yarn --name slash_code_executor -- start |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+777 Bytes
(100%)
apps/admin/.next/cache/webpack/client-production/index.pack.old
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = {} | ||
const nextConfig = { | ||
eslint: { | ||
ignoreDuringBuilds: true, | ||
}, | ||
}; | ||
|
||
module.exports = nextConfig | ||
module.exports = nextConfig; |
Binary file not shown.
1 change: 0 additions & 1 deletion
1
apps/backend/.next/static/TAkQtBATS9ptZXdlG3Yrv/_buildManifest.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
apps/backend/.next/static/TAkQtBATS9ptZXdlG3Yrv/_ssgManifest.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,7 @@ module.exports = { | |
}, | ||
]; | ||
}, | ||
eslint: { | ||
ignoreDuringBuilds: true, | ||
}, | ||
}; |
Binary file modified
BIN
-1.01 KB
(43%)
apps/code_executor/.next/cache/webpack/client-production/3.pack
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
apps/code_executor/.next/static/_Hl6SVA7_Bwga_SkzoFjZ/_buildManifest.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
apps/code_executor/.next/static/_Hl6SVA7_Bwga_SkzoFjZ/_ssgManifest.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = {} | ||
const nextConfig = { | ||
eslint: { | ||
ignoreDuringBuilds: true, | ||
}, | ||
}; | ||
|
||
module.exports = nextConfig | ||
module.exports = nextConfig; |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+1.29 KB
(100%)
apps/landing/.next/cache/webpack/server-production/index.pack.old
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
apps/landing/.next/static/8XEXjljZNG8cUcRx5pjk6/_buildManifest.js
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
apps/landing/.next/static/8XEXjljZNG8cUcRx5pjk6/_ssgManifest.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = {} | ||
const nextConfig = { | ||
eslint: { | ||
ignoreDuringBuilds: true, | ||
}, | ||
}; | ||
|
||
module.exports = nextConfig | ||
module.exports = nextConfig; |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-11 KB
(100%)
apps/web/.next/cache/webpack/server-production/index.pack.old
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
module.exports = { | ||
reactStrictMode: true, | ||
transpilePackages: ["ui"], | ||
eslint: { | ||
ignoreDuringBuilds: true, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters