Skip to content

Commit

Permalink
updated requirements.txt path
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushhyadav committed Feb 25, 2024
1 parent e1a3f3a commit 95ffc7b
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/release-1.0.0_safedeal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
- name: Set up Python version
uses: actions/setup-python@v1
with:
python-version: '3.9'
python-version: "3.9"

- name: Create and start virtual environment
run: |
python -m venv venv
source venv/bin/activate
- name: Install dependencies
run: pip install -r requirements.txt
run: pip install -r ../safe_deals_env/requirements.txt

# Optional: Add step to run tests here (PyTest, Django test suites, etc.)

- name: Zip artifact for deployment
Expand All @@ -47,9 +47,9 @@ jobs:
runs-on: ubuntu-latest
needs: build
environment:
name: 'Production'
name: "Production"
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v3
Expand All @@ -59,11 +59,10 @@ jobs:
- name: Unzip artifact for deployment
run: unzip release.zip


- name: 'Deploy to Azure Web App'
- name: "Deploy to Azure Web App"
uses: azure/webapps-deploy@v2
id: deploy-to-webapp
with:
app-name: 'SafeDeal'
slot-name: 'Production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_DA288DFC30B0479DA83956063B60082C }}
app-name: "SafeDeal"
slot-name: "Production"
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_DA288DFC30B0479DA83956063B60082C }}

0 comments on commit 95ffc7b

Please sign in to comment.