From ea3d2d8e8d6ca1e0987c192b2d89ac5bbf69ee2b Mon Sep 17 00:00:00 2001 From: omaroughriss Date: Wed, 16 Jul 2025 15:46:03 +0200 Subject: [PATCH] Fix cicd to use schedule event --- .github/workflows/demo.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 63edc499..2d0a2527 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -1,8 +1,8 @@ name: Demo - Build & Deploy to Scaleway on: - push: - branches: [legacy_dev] + schedule: + - cron: '48 13 * * *' # 13:48 UTC -> 15:48 CEST env: PROJECT_ID_LECOFFRE: 72d08499-37c2-412b-877e-f8af0471654a @@ -17,6 +17,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + ref: cicd - name: Setup SSH run: | mkdir -p ~/.ssh @@ -40,7 +42,7 @@ jobs: deploy-to-scaleway-lecoffre: needs: build-and-push-image-lecoffre runs-on: ubuntu-latest - environment: staging + environment: demo steps: - name: Install CLI uses: scaleway/action-scw@v0