refactor: migrate to Forgejo workflows, remove GitHub Actions
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
9bca05dea2
commit
b9e73a728d
2 changed files with 64 additions and 68 deletions
|
|
@ -1,4 +1,4 @@
|
|||
name: Build and deploy Python app to Azure Web App - althaus-preprocessing
|
||||
name: Deploy althaus-preprocessing
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -14,16 +14,14 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# ---------- BACKEND / PYTHON ----------
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.13"
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
uses: astral-sh/setup-uv@v5
|
||||
|
||||
# ---------- ARTIFACT ----------
|
||||
- name: Upload artifact for deployment jobs
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
@ -60,4 +58,4 @@ jobs:
|
|||
with:
|
||||
app-name: "poweron-althaus-preprocess-prod"
|
||||
slot-name: "Production"
|
||||
package: . # reuse the downloaded artifact folder
|
||||
package: .
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
name: Build and deploy Python app to Azure Web App - poweron-preprocessing
|
||||
name: Deploy poweron-preprocessing
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -14,16 +14,14 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# ---------- BACKEND / PYTHON ----------
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.13"
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v6
|
||||
uses: astral-sh/setup-uv@v5
|
||||
|
||||
# ---------- ARTIFACT ----------
|
||||
- name: Upload artifact for deployment jobs
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
|
@ -60,4 +58,4 @@ jobs:
|
|||
with:
|
||||
app-name: "poweron-preprocessing"
|
||||
slot-name: "Production"
|
||||
package: . # reuse the downloaded artifact folder
|
||||
package: .
|
||||
Loading…
Reference in a new issue