Skip to content

Commit ca8b106

Browse files
authored
Update main_eoagritool.yml
Updated
1 parent 7f6608c commit ca8b106

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/main_eoagritool.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
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-
# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions
4-
51
name: Build and deploy Python app to Azure Web App - EOAgriTool
62

73
on:
@@ -32,17 +28,9 @@ jobs:
3228
- name: Install dependencies
3329
run: pip install -r requirements.txt
3430

35-
# Optional: Add step to run tests here (PyTest, Django test suites, etc.)
36-
3731
- name: Zip artifact for deployment
3832
run: zip release.zip ./* -r
3933

40-
- name: Deploy to GitHub Pages
41-
uses: peaceiris/actions-gh-pages@v4
42-
with:
43-
github_token: ${{ secrets.PAT_TOKEN }}
44-
publish_dir: . # Change if your static files are in a different directory
45-
4634
- name: Upload artifact for deployment jobs
4735
uses: actions/upload-artifact@v4
4836
with:
@@ -79,7 +67,7 @@ jobs:
7967
MESSAGE: 'Deployment to production failed. Please review GitHub Actions logs.'
8068

8169
- name: Login to Azure
82-
uses: azure/login@v3
70+
uses: azure/login@v2 # Fixed version
8371
with:
8472
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID }}
8573
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID }}

0 commit comments

Comments
 (0)