From 878728a6fba8148f9142d6fe075f759e511e30dd Mon Sep 17 00:00:00 2001 From: "Sasha-Gay K. McKoy" Date: Tue, 14 May 2024 14:30:14 -0500 Subject: [PATCH 1/3] Update title and color --- frontend/src/views/Home.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue index 16cd3818..7c2b02c4 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/Home.vue @@ -7,7 +7,7 @@
- Milligram + Sashagram @@ -48,8 +48,8 @@ export default class Home extends Vue {} #f09433 0%, #e6683c 25%, #dc2743 50%, - #cc2366 75%, - #bc1888 100% + #fa1e01 75%, + #1a1ef5 100% ); position: fixed; } From 2c79555940f8c7c6fa5c34304bd137ce00782bc4 Mon Sep 17 00:00:00 2001 From: "Sasha-Gay K. McKoy" Date: Tue, 14 May 2024 14:49:55 -0500 Subject: [PATCH 2/3] Update title and color --- frontend/src/views/Home.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue index 7c2b02c4..6bb65462 100644 --- a/frontend/src/views/Home.vue +++ b/frontend/src/views/Home.vue @@ -49,7 +49,7 @@ export default class Home extends Vue {} #e6683c 25%, #dc2743 50%, #fa1e01 75%, - #1a1ef5 100% + #6cdf5d 100% ); position: fixed; } From e5203da344faab911721b6eeb2e3d8ced78428f2 Mon Sep 17 00:00:00 2001 From: Tmckoy Date: Wed, 15 May 2024 14:38:16 -0500 Subject: [PATCH 3/3] Add or update the Azure App Service build and deployment workflow config --- .github/workflows/main_challenge3-app5.yml | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 .github/workflows/main_challenge3-app5.yml diff --git a/.github/workflows/main_challenge3-app5.yml b/.github/workflows/main_challenge3-app5.yml new file mode 100644 index 00000000..1a943ad3 --- /dev/null +++ b/.github/workflows/main_challenge3-app5.yml @@ -0,0 +1,69 @@ +# 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 - challenge3-app5 + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python version + uses: actions/setup-python@v1 + with: + python-version: '3.12' + + - 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: Zip artifact for deployment + run: zip release.zip ./* -r + + - name: Upload artifact for deployment jobs + uses: actions/upload-artifact@v3 + with: + name: python-app + path: | + release.zip + !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@v3 + with: + name: python-app + + - name: Unzip artifact for deployment + run: unzip release.zip + + + - name: 'Deploy to Azure Web App' + uses: azure/webapps-deploy@v2 + id: deploy-to-webapp + with: + app-name: 'challenge3-app5' + slot-name: 'Production' + publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_278BBBF0187140B893844BC46FA6458B }} \ No newline at end of file