diff --git a/.github/workflows/master_neurofusion-backend.yml b/.github/workflows/master_neurofusion-backend.yml index add8393c..1586c03f 100644 --- a/.github/workflows/master_neurofusion-backend.yml +++ b/.github/workflows/master_neurofusion-backend.yml @@ -29,9 +29,7 @@ jobs: npm install npm run build --if-present npm run test --if-present - - - name: Zip artifact for deployment - run: zip release.zip ./neurofusion/server -r -x "*node_modules*" + zip -r release.zip * - name: Upload artifact for deployment job uses: actions/upload-artifact@v3.1.2 @@ -52,9 +50,6 @@ jobs: with: name: node-app - - name: unzip artifact for deployment - run: unzip release.zip - - name: "Deploy to Azure Web App" id: deploy-to-webapp uses: azure/webapps-deploy@v2 @@ -63,3 +58,6 @@ jobs: slot-name: "Production" publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_15448697DA4C4DB782AD3CD75E246CAF }} package: . + + - name: "unzip artifact from deployment" + run: unzip release.zip diff --git a/.github/workflows/master_neurofusionbackendprd.yml b/.github/workflows/master_neurofusionbackendprd.yml index e0e36d18..7a25280c 100644 --- a/.github/workflows/master_neurofusionbackendprd.yml +++ b/.github/workflows/master_neurofusionbackendprd.yml @@ -29,9 +29,7 @@ jobs: npm install npm run build --if-present npm run test --if-present - - - name: Zip artifact for deployment - run: zip release.zip ./neurofusion/server -r -x "*node_modules*" + zip -r release.zip * - name: Upload artifact for deployment job uses: actions/upload-artifact@v3.1.2 @@ -52,9 +50,6 @@ jobs: with: name: node-app - - name: unzip artifact for deployment - run: unzip release.zip - - name: "Deploy to Azure Web App" id: deploy-to-webapp uses: azure/webapps-deploy@v2 @@ -63,3 +58,6 @@ jobs: slot-name: "Production" publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_C82240E272334D0987319152B6FB2953 }} package: . + + - name: unzip artifact post deployment + run: unzip release.zip diff --git a/neurofusion/server/README.md b/neurofusion/server/README.md index 3c959f3d..205ed71a 100644 --- a/neurofusion/server/README.md +++ b/neurofusion/server/README.md @@ -1,4 +1,4 @@ -## Neurofusion Backend Server +# Neurofusion Backend Server Server is run using Node.js (express/CommonJS) @@ -32,6 +32,7 @@ yarn start - Analytics - calls after related data points are fetched (can only perform action if token matches user account) - merge eegPowerSpectrum with signal quality +- Soon surreal ## Database