You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/main_gymbro.yml
+14-22Lines changed: 14 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ jobs:
14
14
build:
15
15
runs-on: ubuntu-latest
16
16
permissions:
17
-
contents: read#This is required for actions/checkout
17
+
contents: read
18
18
19
19
steps:
20
20
- uses: actions/checkout@v4
@@ -24,45 +24,38 @@ jobs:
24
24
with:
25
25
python-version: '3.11'
26
26
27
-
# 🛠️ Local Build Section (Optional)
28
-
# The following section in your workflow is designed to catch build issues early on the client side, before deployment. This can be helpful for debugging and validation. However, if this step significantly increases deployment time and early detection is not critical for your workflow, you may remove this section to streamline the deployment process.
29
-
- name: Create and Start virtual environment and Install dependencies
27
+
- name: Install dependencies
30
28
working-directory: ./backend
31
29
run: |
32
30
python -m venv antenv
33
31
source antenv/bin/activate
34
32
pip install -r requirements.txt
35
-
36
-
# By default, when you enable GitHub CI/CD integration through the Azure portal, the platform automatically sets the SCM_DO_BUILD_DURING_DEPLOYMENT application setting to true. This triggers the use of Oryx, a build engine that handles application compilation and dependency installation (e.g., pip install) directly on the platform during deployment. Hence, we exclude the antenv virtual environment directory from the deployment artifact to reduce the payload size.
0 commit comments