Skip to content

Commit

Permalink
Update main_safehaven2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaloney111 authored Jun 6, 2024
1 parent 34d61f9 commit da8469c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main_safehaven2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@ jobs:

- name: Copy files to artifact directory
run: |
Get-ChildItem -Path . -Recurse | Copy-Item -Destination artifact -Force -PassThru
Get-ChildItem -Path . -Recurse | Copy-Item -Destination artifact2 -Force -PassThru
shell: powershell

- name: Create artifact archive
run: |
Compress-Archive -Path artifact\* -DestinationPath artifact\node-app.zip
Compress-Archive -Path artifact2\* -DestinationPath artifact2\node-app.zip
shell: powershell

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v3
with:
name: node-app
path: artifact/node-app.zip
path: artifact2/node-app.zip

deploy:
runs-on: ubuntu-latest
Expand All @@ -67,10 +67,10 @@ jobs:
uses: actions/download-artifact@v3
with:
name: node-app
path: ./artifact
path: ./artifact2

- name: Unzip artifact
run: unzip artifact/node-app.zip -d ./artifact
run: unzip artifact2/node-app.zip -d ./artifact2

- name: Login to Azure
uses: azure/login@v1
Expand All @@ -85,4 +85,4 @@ jobs:
with:
app-name: 'SafeHaven2'
slot-name: 'Production'
package: ./artifact
package: ./artifact2

0 comments on commit da8469c

Please sign in to comment.