From fd9b36afce0d9bd76594981f190f32a861958fa8 Mon Sep 17 00:00:00 2001 From: dxuian <92696836+Dxuian@users.noreply.github.com> Date: Mon, 12 Jun 2023 22:42:51 +0530 Subject: [PATCH 01/13] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_keychamp.yml | 56 +++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/main_keychamp.yml diff --git a/.github/workflows/main_keychamp.yml b/.github/workflows/main_keychamp.yml new file mode 100644 index 000000000..3c2eedc81 --- /dev/null +++ b/.github/workflows/main_keychamp.yml @@ -0,0 +1,56 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions + +name: Build and deploy Node.js app to Azure Web App - keychamp + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Node.js version + uses: actions/setup-node@v1 + with: + node-version: '18.x' + + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm run test --if-present + + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v2 + with: + name: node-app + path: . + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: 'Production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: node-app + + - name: 'Deploy to Azure Web App' + id: deploy-to-webapp + uses: azure/webapps-deploy@v2 + with: + app-name: 'keychamp' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_312C3DCB8BA9468A87360DB4B61376B2 }} + package: . From 8ee7d78eab67e32d9bad29876bae31fde49e3b98 Mon Sep 17 00:00:00 2001 From: dxuian <92696836+Dxuian@users.noreply.github.com> Date: Mon, 12 Jun 2023 22:46:25 +0530 Subject: [PATCH 02/13] Remove the Azure App Service build and deployment workflow config --- .github/workflows/main_keychamp.yml | 56 ----------------------------- 1 file changed, 56 deletions(-) delete mode 100644 .github/workflows/main_keychamp.yml diff --git a/.github/workflows/main_keychamp.yml b/.github/workflows/main_keychamp.yml deleted file mode 100644 index 3c2eedc81..000000000 --- a/.github/workflows/main_keychamp.yml +++ /dev/null @@ -1,56 +0,0 @@ -# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy -# More GitHub Actions for Azure: https://github.com/Azure/actions - -name: Build and deploy Node.js app to Azure Web App - keychamp - -on: - push: - branches: - - main - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Set up Node.js version - uses: actions/setup-node@v1 - with: - node-version: '18.x' - - - name: npm install, build, and test - run: | - npm install - npm run build --if-present - npm run test --if-present - - - name: Upload artifact for deployment job - uses: actions/upload-artifact@v2 - with: - name: node-app - path: . - - deploy: - runs-on: ubuntu-latest - needs: build - environment: - name: 'Production' - url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - - steps: - - name: Download artifact from build job - uses: actions/download-artifact@v2 - with: - name: node-app - - - name: 'Deploy to Azure Web App' - id: deploy-to-webapp - uses: azure/webapps-deploy@v2 - with: - app-name: 'keychamp' - slot-name: 'Production' - publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_312C3DCB8BA9468A87360DB4B61376B2 }} - package: . From ad9db8ca37841e186c5fa565cd6b1c0beea90ece Mon Sep 17 00:00:00 2001 From: dxuian <92696836+Dxuian@users.noreply.github.com> Date: Mon, 12 Jun 2023 22:47:41 +0530 Subject: [PATCH 03/13] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_keychamp.yml | 56 +++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/main_keychamp.yml diff --git a/.github/workflows/main_keychamp.yml b/.github/workflows/main_keychamp.yml new file mode 100644 index 000000000..18d486393 --- /dev/null +++ b/.github/workflows/main_keychamp.yml @@ -0,0 +1,56 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions + +name: Build and deploy Node.js app to Azure Web App - keychamp + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Node.js version + uses: actions/setup-node@v1 + with: + node-version: '18.x' + + - name: npm install, build, and test + run: | + npm install + npm run build --if-present + npm run test --if-present + + - name: Upload artifact for deployment job + uses: actions/upload-artifact@v2 + with: + name: node-app + path: . + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: 'Production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: node-app + + - name: 'Deploy to Azure Web App' + id: deploy-to-webapp + uses: azure/webapps-deploy@v2 + with: + app-name: 'keychamp' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_6135CA5D15E44A1CBA937E4076AA9E54 }} + package: . From 6ddb69c7d8f587f32625ae79d129b916cdd3c1f2 Mon Sep 17 00:00:00 2001 From: dxuian Date: Mon, 12 Jun 2023 22:57:50 +0530 Subject: [PATCH 04/13] render.com --- nf/route.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nf/route.js b/nf/route.js index eb13010ce..bea420383 100644 --- a/nf/route.js +++ b/nf/route.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:54669cdd234904232d8e4768724125ec14c809a2e7391558441a2f790a7d82f9 -size 55223 +oid sha256:f7cca9e3ab7c783142b6b7e6bbb99ccc40b3370e382e5b21ab6cd381dd70b689 +size 55330 From ffdefc112a9a9f2f1af714aaddd2af4f061f722f Mon Sep 17 00:00:00 2001 From: dxuian Date: Mon, 12 Jun 2023 23:51:40 +0530 Subject: [PATCH 05/13] haahah merge idk --- .github/workflows/main_keychamp.yml | 59 ++--------------------------- nf/route.js | 4 +- 2 files changed, 5 insertions(+), 58 deletions(-) diff --git a/.github/workflows/main_keychamp.yml b/.github/workflows/main_keychamp.yml index 18d486393..80b2a2c1b 100644 --- a/.github/workflows/main_keychamp.yml +++ b/.github/workflows/main_keychamp.yml @@ -1,56 +1,3 @@ -# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy -# More GitHub Actions for Azure: https://github.com/Azure/actions - -name: Build and deploy Node.js app to Azure Web App - keychamp - -on: - push: - branches: - - main - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Set up Node.js version - uses: actions/setup-node@v1 - with: - node-version: '18.x' - - - name: npm install, build, and test - run: | - npm install - npm run build --if-present - npm run test --if-present - - - name: Upload artifact for deployment job - uses: actions/upload-artifact@v2 - with: - name: node-app - path: . - - deploy: - runs-on: ubuntu-latest - needs: build - environment: - name: 'Production' - url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - - steps: - - name: Download artifact from build job - uses: actions/download-artifact@v2 - with: - name: node-app - - - name: 'Deploy to Azure Web App' - id: deploy-to-webapp - uses: azure/webapps-deploy@v2 - with: - app-name: 'keychamp' - slot-name: 'Production' - publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_6135CA5D15E44A1CBA937E4076AA9E54 }} - package: . +version https://git-lfs.github.com/spec/v1 +oid sha256:ddfef9dc0a71367d88d6fbc94c9b189a3e6a6504430398dab56190a143416a4b +size 1454 diff --git a/nf/route.js b/nf/route.js index bea420383..fed801d25 100644 --- a/nf/route.js +++ b/nf/route.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f7cca9e3ab7c783142b6b7e6bbb99ccc40b3370e382e5b21ab6cd381dd70b689 -size 55330 +oid sha256:8426d38ca59e83e1557d7dbfe67f782db89dc7bf24cd624e8bc3031c275f49b8 +size 55338 From e0ee7c146196b58e7fa303015d4561a9ed8d5e73 Mon Sep 17 00:00:00 2001 From: dxuian Date: Tue, 13 Jun 2023 00:03:18 +0530 Subject: [PATCH 06/13] idk what im doin --- nf/route.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nf/route.js b/nf/route.js index fed801d25..2c17f5856 100644 --- a/nf/route.js +++ b/nf/route.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8426d38ca59e83e1557d7dbfe67f782db89dc7bf24cd624e8bc3031c275f49b8 -size 55338 +oid sha256:de1a3c5fe54746d3ed2c1072173c7dbd57cec7a7a2241b8c84e49c3fc195f8da +size 55366 From 75ecd285612bcadee8f5d8188d9ef4e718fe99b2 Mon Sep 17 00:00:00 2001 From: dxuian Date: Tue, 13 Jun 2023 00:23:30 +0530 Subject: [PATCH 07/13] for render.com --- nf/public/prac.js | 4 ++-- nf/route.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nf/public/prac.js b/nf/public/prac.js index 6d1688e52..0e5ff01f0 100644 --- a/nf/public/prac.js +++ b/nf/public/prac.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1e16176e19877338ecb84c106eaee2d99a52769ec58b91a001f6b1e3e2a7f8c8 -size 18335 +oid sha256:d977d64dca6656d0b04cffb7fbe145b1fdc3cfceb76007de8d9f65206dc244eb +size 18391 diff --git a/nf/route.js b/nf/route.js index 2c17f5856..c7e9c90ce 100644 --- a/nf/route.js +++ b/nf/route.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:de1a3c5fe54746d3ed2c1072173c7dbd57cec7a7a2241b8c84e49c3fc195f8da -size 55366 +oid sha256:caae57378b76f686bc99d7000ef01126e094a5b34fdf0048f5d58c769c1da568 +size 55382 From 1eee61594f3ce9a78c5a18ded60e6c4822e8b468 Mon Sep 17 00:00:00 2001 From: dxuian Date: Tue, 13 Jun 2023 00:30:25 +0530 Subject: [PATCH 08/13] added consoles to stuff --- nf/public/prac.js | 4 ++-- nf/route.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nf/public/prac.js b/nf/public/prac.js index 0e5ff01f0..0a413ea82 100644 --- a/nf/public/prac.js +++ b/nf/public/prac.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d977d64dca6656d0b04cffb7fbe145b1fdc3cfceb76007de8d9f65206dc244eb -size 18391 +oid sha256:5d07188930ace67b5ba913aa8e00abe6f7127db89cfb7cff1c5f3ccdde641fca +size 18583 diff --git a/nf/route.js b/nf/route.js index c7e9c90ce..8eb73b5de 100644 --- a/nf/route.js +++ b/nf/route.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:caae57378b76f686bc99d7000ef01126e094a5b34fdf0048f5d58c769c1da568 -size 55382 +oid sha256:477e3e478df2325a658d87f676584f89f8fc092d6ceb80bb7be45e3f4dbc7c53 +size 55498 From 617ff9621b99dce08695788f10c57ce3e5c84ffb Mon Sep 17 00:00:00 2001 From: dxuian Date: Tue, 13 Jun 2023 00:44:47 +0530 Subject: [PATCH 09/13] trying smthn --- nf/route.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nf/route.js b/nf/route.js index 8eb73b5de..2efb35182 100644 --- a/nf/route.js +++ b/nf/route.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:477e3e478df2325a658d87f676584f89f8fc092d6ceb80bb7be45e3f4dbc7c53 -size 55498 +oid sha256:f66016097f546c8cb00b19bba2f8f5504abfc13b17518f105437f3325e7f2e37 +size 55506 From bbffcca99a1188eec8a011a30f5fa8e06a58b698 Mon Sep 17 00:00:00 2001 From: dxuian Date: Tue, 13 Jun 2023 00:50:55 +0530 Subject: [PATCH 10/13] checkagain --- .github/workflows/main_keychamp.yml | 4 ++-- nf/public/prac.js | 4 ++-- nf/route.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main_keychamp.yml b/.github/workflows/main_keychamp.yml index 80b2a2c1b..abb250edd 100644 --- a/.github/workflows/main_keychamp.yml +++ b/.github/workflows/main_keychamp.yml @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ddfef9dc0a71367d88d6fbc94c9b189a3e6a6504430398dab56190a143416a4b -size 1454 +oid sha256:61e816b072eda64f6f7cd298df04d8a9aa6ebcabb08314b0ef456bf0feb852ee +size 1461 diff --git a/nf/public/prac.js b/nf/public/prac.js index 0a413ea82..1e97cd5a5 100644 --- a/nf/public/prac.js +++ b/nf/public/prac.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5d07188930ace67b5ba913aa8e00abe6f7127db89cfb7cff1c5f3ccdde641fca -size 18583 +oid sha256:2623b809d9efb56095fabee08ef4a164b79ba062ff84e267903792841509459c +size 18581 diff --git a/nf/route.js b/nf/route.js index 2efb35182..511807672 100644 --- a/nf/route.js +++ b/nf/route.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f66016097f546c8cb00b19bba2f8f5504abfc13b17518f105437f3325e7f2e37 -size 55506 +oid sha256:3c2c1b0de24acc9373db4c0ce817c50b2003a8c0acc7d9cb72e4bb3fe08d36ea +size 55514 From c52de8ff8265078f3e15dd394eaa21d607d76ee1 Mon Sep 17 00:00:00 2001 From: dxuian Date: Tue, 13 Jun 2023 00:53:26 +0530 Subject: [PATCH 11/13] rm yaml --- .github/workflows/main_keychamp.yml | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .github/workflows/main_keychamp.yml diff --git a/.github/workflows/main_keychamp.yml b/.github/workflows/main_keychamp.yml deleted file mode 100644 index abb250edd..000000000 --- a/.github/workflows/main_keychamp.yml +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:61e816b072eda64f6f7cd298df04d8a9aa6ebcabb08314b0ef456bf0feb852ee -size 1461 From ec5ce4f126718dbc8af3d876bf1bfb36ea577f97 Mon Sep 17 00:00:00 2001 From: dxuian Date: Tue, 13 Jun 2023 01:53:05 +0530 Subject: [PATCH 12/13] changing links again --- nf/public/prac.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nf/public/prac.js b/nf/public/prac.js index 1e97cd5a5..e592229fe 100644 --- a/nf/public/prac.js +++ b/nf/public/prac.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2623b809d9efb56095fabee08ef4a164b79ba062ff84e267903792841509459c -size 18581 +oid sha256:37aa856cd7e211b6252f7399ef1e883e33871b2d085eb7269042e827f93126ae +size 18585 From e58eea600a7b6f7e898b4e1cffddd48782180f90 Mon Sep 17 00:00:00 2001 From: dxuian Date: Tue, 13 Jun 2023 13:57:21 +0530 Subject: [PATCH 13/13] for msazure --- nf/public/prac.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nf/public/prac.js b/nf/public/prac.js index e592229fe..ffbc02335 100644 --- a/nf/public/prac.js +++ b/nf/public/prac.js @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:37aa856cd7e211b6252f7399ef1e883e33871b2d085eb7269042e827f93126ae -size 18585 +oid sha256:13e924971813c1d9c919292f404e26c38df0e1baff7d09bcfbf7cae542660e6e +size 18699