Skip to content

Commit 2fc5aa8

Browse files
1 main_rayscloudapp.yml
1 parent 8fea7c2 commit 2fc5aa8

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/main_rayscloudapp.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
name: Deploy Static HTML to Azure
33

44
on:
5-
push:
6-
branches:
7-
- main
8-
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
99

1010
jobs:
11-
deploy:
12-
runs-on: ubuntu-latest
11+
build-and-deploy:
12+
runs-on: ubuntu-latest
1313

14-
steps:
15-
- name: Checkout code
16-
uses: actions/checkout@v2
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v3 # Updated to v3
1717

18-
- name: Deploy to Azure Web App
19-
uses: azure/webapps-deploy@v2
20-
with:
21-
app-name: RaysCloudApp # Update this if your Azure App name is different
22-
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE }}
23-
package: .
18+
- name: Deploy to Azure Web App
19+
uses: azure/webapps-deploy@v2
20+
with:
21+
app-name: 'your-app-name-here' # Enclose in quotes
22+
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE }}
23+
package: . # Deploy current directory

0 commit comments

Comments
 (0)