Skip to content

Commit 069333f

Browse files
authored
Update manual.yml
Updated
1 parent ca8b106 commit 069333f

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/manual.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
run: unzip release.zip
6363

6464
- name: Login to Azure
65-
uses: azure/login@v3
65+
uses: azure/login@v2 # Fixed version
6666
with:
6767
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID }}
6868
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID }}
@@ -93,4 +93,18 @@ jobs:
9393
run: npm install
9494

9595
- name: Run Node.js API
96-
run: npm start
96+
run: npm start
97+
98+
gh-pages:
99+
runs-on: ubuntu-latest
100+
needs: build
101+
steps:
102+
- name: Checkout repository
103+
uses: actions/checkout@v4
104+
105+
- name: Deploy to GitHub Pages
106+
uses: peaceiris/actions-gh-pages@v4
107+
with:
108+
github_token: ${{ secrets.GITHUB_TOKEN }}
109+
publish_branch: gh-pages
110+
publish_dir: . # Change if static files are in another directory

0 commit comments

Comments
 (0)