Fix cicd to use schedule event
This commit is contained in:
parent
aa3feb4f14
commit
ea3d2d8e8d
8
.github/workflows/demo.yml
vendored
8
.github/workflows/demo.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user