From e0e8e75d7c985a7625f986ff416913c6ec146078 Mon Sep 17 00:00:00 2001 From: Xiaowei-design <74429698+Xiaowei-design@users.noreply.github.com> Date: Thu, 11 May 2023 10:10:13 -0700 Subject: [PATCH 1/5] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_xj-onboardingdemo.yml | 63 ++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/main_xj-onboardingdemo.yml diff --git a/.github/workflows/main_xj-onboardingdemo.yml b/.github/workflows/main_xj-onboardingdemo.yml new file mode 100644 index 000000000..ddf46263d --- /dev/null +++ b/.github/workflows/main_xj-onboardingdemo.yml @@ -0,0 +1,63 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions +# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions + +name: Build and deploy Python app to Azure Web App - xj-onboardingdemo + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python version + uses: actions/setup-python@v1 + with: + python-version: '3.11' + + - name: Create and start virtual environment + run: | + python -m venv venv + source venv/bin/activate + + - name: Install dependencies + run: pip install -r requirements.txt + + # Optional: Add step to run tests here (PyTest, Django test suites, etc.) + + - name: Upload artifact for deployment jobs + uses: actions/upload-artifact@v2 + with: + name: python-app + path: | + . + !venv/ + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: 'Production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: python-app + path: . + + - name: 'Deploy to Azure Web App' + uses: azure/webapps-deploy@v2 + id: deploy-to-webapp + with: + app-name: 'xj-onboardingdemo' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_0DFB21E46C3F4CAE9C3F666B16B83139 }} From aaee55028a90b640eeb3b6b1efdf3a3a65c05064 Mon Sep 17 00:00:00 2001 From: Xiaowei-design <74429698+Xiaowei-design@users.noreply.github.com> Date: Mon, 15 May 2023 15:40:43 -0700 Subject: [PATCH 2/5] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_app-fxkhrsrfextp2.yml | 63 ++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/main_app-fxkhrsrfextp2.yml diff --git a/.github/workflows/main_app-fxkhrsrfextp2.yml b/.github/workflows/main_app-fxkhrsrfextp2.yml new file mode 100644 index 000000000..658903c0f --- /dev/null +++ b/.github/workflows/main_app-fxkhrsrfextp2.yml @@ -0,0 +1,63 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions +# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions + +name: Build and deploy Python app to Azure Web App - app-fxkhrsrfextp2 + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python version + uses: actions/setup-python@v1 + with: + python-version: '3.11' + + - name: Create and start virtual environment + run: | + python -m venv venv + source venv/bin/activate + + - name: Install dependencies + run: pip install -r requirements.txt + + # Optional: Add step to run tests here (PyTest, Django test suites, etc.) + + - name: Upload artifact for deployment jobs + uses: actions/upload-artifact@v2 + with: + name: python-app + path: | + . + !venv/ + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: 'Production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: python-app + path: . + + - name: 'Deploy to Azure Web App' + uses: azure/webapps-deploy@v2 + id: deploy-to-webapp + with: + app-name: 'app-fxkhrsrfextp2' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_6E6E1016F9444DFEA6120BCAF4FD5ED0 }} From d660743769fb9f458d9522c2f4597bc85e5b0273 Mon Sep 17 00:00:00 2001 From: Xiaowei-design <74429698+Xiaowei-design@users.noreply.github.com> Date: Tue, 16 May 2023 15:15:06 -0700 Subject: [PATCH 3/5] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_app-dqv7vqhl7dk4i.yml | 63 ++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/main_app-dqv7vqhl7dk4i.yml diff --git a/.github/workflows/main_app-dqv7vqhl7dk4i.yml b/.github/workflows/main_app-dqv7vqhl7dk4i.yml new file mode 100644 index 000000000..fecc94d2c --- /dev/null +++ b/.github/workflows/main_app-dqv7vqhl7dk4i.yml @@ -0,0 +1,63 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions +# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions + +name: Build and deploy Python app to Azure Web App - app-dqv7vqhl7dk4i + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python version + uses: actions/setup-python@v1 + with: + python-version: '3.11' + + - name: Create and start virtual environment + run: | + python -m venv venv + source venv/bin/activate + + - name: Install dependencies + run: pip install -r requirements.txt + + # Optional: Add step to run tests here (PyTest, Django test suites, etc.) + + - name: Upload artifact for deployment jobs + uses: actions/upload-artifact@v2 + with: + name: python-app + path: | + . + !venv/ + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: 'Production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: python-app + path: . + + - name: 'Deploy to Azure Web App' + uses: azure/webapps-deploy@v2 + id: deploy-to-webapp + with: + app-name: 'app-dqv7vqhl7dk4i' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_3EB80B9036C1478BB08963A540A4E5E1 }} From f5e56418df91466e37d8d5d5e1194563bab6a1a7 Mon Sep 17 00:00:00 2001 From: Xiaowei-design <74429698+Xiaowei-design@users.noreply.github.com> Date: Thu, 22 Jun 2023 13:49:34 -0700 Subject: [PATCH 4/5] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_app-co7nq3gum3p2k.yml | 63 ++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/main_app-co7nq3gum3p2k.yml diff --git a/.github/workflows/main_app-co7nq3gum3p2k.yml b/.github/workflows/main_app-co7nq3gum3p2k.yml new file mode 100644 index 000000000..48704223a --- /dev/null +++ b/.github/workflows/main_app-co7nq3gum3p2k.yml @@ -0,0 +1,63 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions +# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions + +name: Build and deploy Python app to Azure Web App - app-co7nq3gum3p2k + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python version + uses: actions/setup-python@v1 + with: + python-version: '3.11' + + - name: Create and start virtual environment + run: | + python -m venv venv + source venv/bin/activate + + - name: Install dependencies + run: pip install -r requirements.txt + + # Optional: Add step to run tests here (PyTest, Django test suites, etc.) + + - name: Upload artifact for deployment jobs + uses: actions/upload-artifact@v2 + with: + name: python-app + path: | + . + !venv/ + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: 'Production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: python-app + path: . + + - name: 'Deploy to Azure Web App' + uses: azure/webapps-deploy@v2 + id: deploy-to-webapp + with: + app-name: 'app-co7nq3gum3p2k' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_BDFA42D0059749389387D6ED562BDE97 }} From 92f968ad4c3f9c888f4182ea0133469c1df6ac92 Mon Sep 17 00:00:00 2001 From: Xiaowei-design <74429698+Xiaowei-design@users.noreply.github.com> Date: Thu, 22 Jun 2023 14:29:24 -0700 Subject: [PATCH 5/5] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_app-xxckkbmbcne4w.yml | 63 ++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/main_app-xxckkbmbcne4w.yml diff --git a/.github/workflows/main_app-xxckkbmbcne4w.yml b/.github/workflows/main_app-xxckkbmbcne4w.yml new file mode 100644 index 000000000..07c78b861 --- /dev/null +++ b/.github/workflows/main_app-xxckkbmbcne4w.yml @@ -0,0 +1,63 @@ +# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy +# More GitHub Actions for Azure: https://github.com/Azure/actions +# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions + +name: Build and deploy Python app to Azure Web App - app-xxckkbmbcne4w + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up Python version + uses: actions/setup-python@v1 + with: + python-version: '3.11' + + - name: Create and start virtual environment + run: | + python -m venv venv + source venv/bin/activate + + - name: Install dependencies + run: pip install -r requirements.txt + + # Optional: Add step to run tests here (PyTest, Django test suites, etc.) + + - name: Upload artifact for deployment jobs + uses: actions/upload-artifact@v2 + with: + name: python-app + path: | + . + !venv/ + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: 'Production' + url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} + + steps: + - name: Download artifact from build job + uses: actions/download-artifact@v2 + with: + name: python-app + path: . + + - name: 'Deploy to Azure Web App' + uses: azure/webapps-deploy@v2 + id: deploy-to-webapp + with: + app-name: 'app-xxckkbmbcne4w' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_9FD998A1571149A4B37BD36AAD8F5074 }}