File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22name : Deploy Static HTML to Azure
33
44on :
5- push :
6- branches :
7- - main
8- workflow_dispatch :
5+ push :
6+ branches :
7+ - main
8+ workflow_dispatch :
99
1010jobs :
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
You can’t perform that action at this time.
0 commit comments