diff --git a/.github/workflows/main_safehaven2.yml b/.github/workflows/main_safehaven2.yml index 3f0742a..cf6ac7a 100644 --- a/.github/workflows/main_safehaven2.yml +++ b/.github/workflows/main_safehaven2.yml @@ -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 @@ -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 @@ -85,4 +85,4 @@ jobs: with: app-name: 'SafeHaven2' slot-name: 'Production' - package: ./artifact + package: ./artifact2