Compare commits

..

2 Commits

Author SHA1 Message Date
Omar Oughriss
b351d9f839 Add logs
All checks were successful
Demo - Build & Deploy to Scaleway / build-and-push-image-lecoffre (push) Successful in 15s
Demo - Build & Deploy to Scaleway / deploy-to-scaleway-lecoffre (push) Successful in 3s
2025-07-25 16:38:15 +02:00
Omar Oughriss
20a333c106 Update cicd to trigger when push legacy_dev 2025-07-25 16:38:05 +02:00
2 changed files with 7 additions and 2 deletions

View File

@ -1,8 +1,8 @@
name: Demo - Build & Deploy to Scaleway name: Demo - Build & Deploy to Scaleway
on: on:
schedule: push:
- cron: '00 15 * * *' # 15:00 UTC -> 17:00 CEST branches: [legacy_dev]
env: env:
PROJECT_ID_LECOFFRE: 72d08499-37c2-412b-877e-f8af0471654a PROJECT_ID_LECOFFRE: 72d08499-37c2-412b-877e-f8af0471654a

View File

@ -46,6 +46,11 @@ export default abstract class BaseApiService {
} }
protected async getRequest<T>(url: URL, token?: string, contentType?: ContentType, ref?: IRef, fileName?: string) { protected async getRequest<T>(url: URL, token?: string, contentType?: ContentType, ref?: IRef, fileName?: string) {
console.log("url", url);
console.log("token", token);
console.log("contentType", contentType);
console.log("ref", ref);
console.log("fileName", fileName);
await this.checkJwtToken(); await this.checkJwtToken();
const request = async () => const request = async () =>
await fetch(url, { await fetch(url, {