Compare commits

...

5 Commits

Author SHA1 Message Date
omaroughriss
1621bc1d53 Merge branch 'cicd' into legacy_dev 2025-07-16 16:43:27 +02:00
omaroughriss
f55b495449 Fix schedule errors 2025-07-16 16:33:46 +02:00
omaroughriss
7ffbe26d2b Update time to UTC+1 2025-07-16 16:03:41 +02:00
omaroughriss
c34659902e Update time to UTC+2 2025-07-16 15:56:37 +02:00
omaroughriss
ea3d2d8e8d Fix cicd to use schedule event 2025-07-16 15:46:03 +02:00
2 changed files with 7 additions and 5 deletions

View File

@ -1,8 +1,8 @@
name: Demo - Build & Deploy to Scaleway name: Demo - Build & Deploy to Scaleway
on: on:
push: schedule:
branches: [legacy_dev] - cron: '00 15 * * *' # 15:00 UTC -> 17:00 CEST
env: env:
PROJECT_ID_LECOFFRE: 72d08499-37c2-412b-877e-f8af0471654a PROJECT_ID_LECOFFRE: 72d08499-37c2-412b-877e-f8af0471654a
@ -17,6 +17,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
ref: cicd
- name: Setup SSH - name: Setup SSH
run: | run: |
mkdir -p ~/.ssh mkdir -p ~/.ssh
@ -40,7 +42,7 @@ jobs:
deploy-to-scaleway-lecoffre: deploy-to-scaleway-lecoffre:
needs: build-and-push-image-lecoffre needs: build-and-push-image-lecoffre
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: staging environment: demo
steps: steps:
- name: Install CLI - name: Install CLI
uses: scaleway/action-scw@v0 uses: scaleway/action-scw@v0

View File

@ -1,8 +1,8 @@
name: Prod - Build & Deploy to Scaleway name: Prod - Build & Deploy to Scaleway
on: on:
push: schedule:
branches: [main] - cron: '00 20 * * *' # 20:00 UTC -> 22:00 CEST
env: env: