Skip to content

Commit 25c6596

Browse files
Update GitHub action
1 parent fadfb36 commit 25c6596

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.github/workflows/main_csstestnode.yml renamed to .github/workflows/CD.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
2-
# More GitHub Actions for Azure: https://github.com/Azure/actions
3-
4-
name: Build and deploy Node.js app to Azure Web App - csstestnode
1+
name: CD
52

63
on:
74
push:
@@ -13,13 +10,13 @@ jobs:
1310
build:
1411
runs-on: ubuntu-latest
1512
permissions:
16-
contents: read #This is required for actions/checkout
13+
contents: read
1714

1815
steps:
19-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
2017

2118
- name: Set up Node.js version
22-
uses: actions/setup-node@v3
19+
uses: actions/setup-node@v5
2320
with:
2421
node-version: '22.x'
2522

@@ -41,7 +38,7 @@ jobs:
4138

4239
steps:
4340
- name: Download artifact from build job
44-
uses: actions/download-artifact@v4
41+
uses: actions/download-artifact@v5
4542
with:
4643
name: node-app
4744

@@ -52,4 +49,4 @@ jobs:
5249
app-name: 'csstestnode'
5350
slot-name: 'Production'
5451
package: .
55-
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_E84B87FC8ACF456B90EBF40494B68004 }}
52+
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_E84B87FC8ACF456B90EBF40494B68004 }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"main": "./dist/index.js",
77
"types": "./dist/index.d.ts",
88
"scripts": {
9-
"start": "npm i && community-solid-server --config config.json --baseUrl \"https://csstestnode-dhf6hxapfcbrdxem.uksouth-01.azurewebsites.net/\" --rootFilePath /csstest --mainModulePath . --loggingLevel info --port $PORT",
9+
"start": "community-solid-server --config config.json --baseUrl \"https://csstestnode-dhf6hxapfcbrdxem.uksouth-01.azurewebsites.net/\" --rootFilePath /csstest --mainModulePath . --loggingLevel info --port $PORT",
1010
"start:dev": "community-solid-server --config config.json --rootFilePath data/ --mainModulePath . --loggingLevel info --port 8080"
1111
},
1212
"files": [

0 commit comments

Comments
 (0)