fixed yml
This commit is contained in:
parent
3f82878eb0
commit
98445d9c5f
1 changed files with 6 additions and 7 deletions
13
.github/workflows/int_poweron-nyla-int.yml
vendored
13
.github/workflows/int_poweron-nyla-int.yml
vendored
|
|
@ -24,14 +24,16 @@ jobs:
|
||||||
npm ci
|
npm ci
|
||||||
npm run build --if-present
|
npm run build --if-present
|
||||||
|
|
||||||
- name: Zip artifact for deployment
|
|
||||||
run: zip release.zip ./* -r -x "node_modules/*" ".git/*" "*.md" ".github/*"
|
|
||||||
|
|
||||||
- name: Upload artifact for deployment job
|
- name: Upload artifact for deployment job
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: node-app
|
name: node-app
|
||||||
path: release.zip
|
path: |
|
||||||
|
.
|
||||||
|
!node_modules
|
||||||
|
!.git
|
||||||
|
!.github
|
||||||
|
!README.md
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -48,9 +50,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: node-app
|
name: node-app
|
||||||
|
|
||||||
- name: Unzip artifact for deployment
|
|
||||||
run: unzip release.zip
|
|
||||||
|
|
||||||
- name: Login to Azure
|
- name: Login to Azure
|
||||||
uses: azure/login@v1
|
uses: azure/login@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue