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:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -14,16 +14,14 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# ---------- BACKEND / PYTHON ----------
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.13"
|
python-version: "3.13"
|
||||||
|
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
|
|
||||||
# ---------- ARTIFACT ----------
|
|
||||||
- name: Upload artifact for deployment jobs
|
- name: Upload artifact for deployment jobs
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -60,4 +58,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
app-name: "poweron-althaus-preprocess-prod"
|
app-name: "poweron-althaus-preprocess-prod"
|
||||||
slot-name: "Production"
|
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:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|
@ -14,16 +14,14 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# ---------- BACKEND / PYTHON ----------
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.13"
|
python-version: "3.13"
|
||||||
|
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
|
|
||||||
# ---------- ARTIFACT ----------
|
|
||||||
- name: Upload artifact for deployment jobs
|
- name: Upload artifact for deployment jobs
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|
@ -60,4 +58,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
app-name: "poweron-preprocessing"
|
app-name: "poweron-preprocessing"
|
||||||
slot-name: "Production"
|
slot-name: "Production"
|
||||||
package: . # reuse the downloaded artifact folder
|
package: .
|
||||||
Loading…
Reference in a new issue