Skip to content

Commit

Permalink
build: pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
oreHGA committed Oct 6, 2023
1 parent 0ac7680 commit 6e514ef
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/master_neurofusion-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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
Expand All @@ -63,3 +58,6 @@ jobs:
slot-name: "Production"
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_15448697DA4C4DB782AD3CD75E246CAF }}
package: .

- name: "unzip artifact from deployment"
run: unzip release.zip
10 changes: 4 additions & 6 deletions .github/workflows/master_neurofusionbackendprd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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
Expand All @@ -63,3 +58,6 @@ jobs:
slot-name: "Production"
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_C82240E272334D0987319152B6FB2953 }}
package: .

- name: unzip artifact post deployment
run: unzip release.zip
3 changes: 2 additions & 1 deletion neurofusion/server/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Neurofusion Backend Server
# Neurofusion Backend Server

Server is run using Node.js (express/CommonJS)

Expand Down Expand Up @@ -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

Expand Down

1 comment on commit 6e514ef

@vercel
Copy link

@vercel vercel bot commented on 6e514ef Oct 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

fusion – ./neurofusion/next-client

usefusion.app
www.usefusion.app
fusion-neurofusion-research-inc.vercel.app
fusion-git-master-neurofusion-research-inc.vercel.app

Please sign in to comment.