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