Skip to content

Commit

Permalink
syntax yml fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienheureux committed Jan 29, 2025
1 parent 1fb0f4f commit 85172c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 37 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
# run_tests:
# uses: ./.github/workflows/run_tests.yml
deploy:
environment: preprod
url: https://quefairedemesobjets-preprod.osc-fr1.scalingo.io
uses: ./.github/workflows/deploy.yml
runs-on: ubuntu-latest
environment:
name: preprod
url: https://quefairedemesobjets-preprod.osc-fr1.scalingo.io
steps:
- uses: ./.github/workflows/deploy.yml
34 changes: 0 additions & 34 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: "Déploiement continu"

on:
workflow_call:
push:
branches:
- main

defaults:
run:
Expand All @@ -14,7 +11,6 @@ defaults:
jobs:
deploy:
name: Deploy on Scalingo
needs: [run_tests]
runs-on: ubuntu-latest
steps:
- uses: action/checkout@v4
Expand All @@ -34,33 +30,3 @@ jobs:
"username": "Bipboop le robot de seconde main",
"icon": "https://cdn3.iconfinder.com/data/icons/system-basic-vol-4-1/20/icon-note-attention-alt3-512.png"
}
deploy_airflow-webserver:
name: Deploy PREPROD Airflow webserver on Clever Cloud
needs: [run_tests]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: 47ng/[email protected]
with:
alias: lvao-preprod-airflow-webserver
env:
CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}


deploy_airflow-scheduler:
name: Deploy PREPROD Airflow scheduler on Clever Cloud
needs: [run_tests]
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: 47ng/[email protected]
with:
alias: lvao-preprod-airflow-scheduler
env:
CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}

0 comments on commit 85172c9

Please sign in to comment.