Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

24 changes: 15 additions & 9 deletions .github/workflows/dev_app-salesforce-proxy-prod-us-eu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Node.js version
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '20.x'

Expand All @@ -27,11 +27,14 @@ jobs:
npm run build --if-present
npm run test --if-present

- name: Zip artifact for deployment
run: zip release.zip ./* -r

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: node-app
path: .
path: release.zip

deploy:
runs-on: ubuntu-latest
Expand All @@ -42,23 +45,26 @@ jobs:

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: node-app

- name: Unzip artifact for deployment
run: unzip release.zip

- name: 'Deploy to QA Azure Web App - app-salesforce-proxy-centralus-prod-001'
id: deploy-to-webapp-centralus
uses: azure/webapps-deploy@v2
uses: azure/webapps-deploy@v3
with:
app-name: 'app-salesforce-proxy-centralus-prod-001'
slot-name: 'qa'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_CENTRALUS_QA }}
package: .
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_416F2BDC573A4482B351C7D60D8099DB }}
- name: 'Deploy to Dev Azure Web App - app-salesforce-proxy-westeurope-prod-001'
id: deploy-to-webapp-westeurope
uses: azure/webapps-deploy@v2
uses: azure/webapps-deploy@v3
with:
app-name: 'app-salesforce-proxy-westeurope-prod-001'
slot-name: 'dev'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_WESTEUROPE_DEV }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_A9DAC02A428C43A3807091815095F756 }}
package: .

This file was deleted.

22 changes: 14 additions & 8 deletions .github/workflows/master_app-salesforce-proxy-prod-us-eu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,27 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Node.js version
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '20.x'

- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm run test --if-present

- name: Zip artifact for deployment
run: zip release.zip ./* -r

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: node-app
path: .
path: release.zip

deploy:
runs-on: ubuntu-latest
Expand All @@ -42,21 +45,24 @@ jobs:

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: node-app

- name: Unzip artifact for deployment
run: unzip release.zip

- name: 'Deploy to Azure Web App - app-salesforce-proxy-centralus-prod-001'
id: deploy-to-webapp-centralus
uses: azure/webapps-deploy@v2
uses: azure/webapps-deploy@v3
with:
app-name: 'app-salesforce-proxy-centralus-prod-001'
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_24EBAA127DFC426FAA0714099E25A326 }}
package: .
- name: 'Deploy to Azure Web App - app-salesforce-proxy-westeurope-prod-001'
id: deploy-to-webapp-westeurope
uses: azure/webapps-deploy@v2
uses: azure/webapps-deploy@v3
with:
app-name: 'app-salesforce-proxy-westeurope-prod-001'
slot-name: 'Production'
Expand Down