Skip to content

Commit c262cb2

Browse files
committed
fix paths for gitlab-ci
1 parent 1c2f543 commit c262cb2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/nextjs.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: upload artifact
4040
uses: actions/upload-artifact@v4
4141
with:
42-
name: opendata
42+
name: opendata_multimodal
4343
path: |
4444
public/comptage-multimodal-comptages.parquet
4545
dataprep:
@@ -51,7 +51,6 @@ jobs:
5151
- name: get the opendata
5252
uses: actions/download-artifact@v4
5353
with:
54-
name: opendata
5554
path: public
5655
- name: get duckdb
5756
run: wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/duckdb_cli-linux-amd64.zip && unzip duckdb_cli-linux-amd64.zip

prepare.sql

+3-3
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ CREATE VIEW counter_group_merged AS
6868
t,
6969
nb_usagers,
7070
mode
71-
FROM 'comptage-multimodal-comptages.parquet'
71+
FROM 'public/comptage-multimodal-comptages.parquet'
7272
WHERE label IS NOT NULL;
7373

7474
CREATE TABLE counter_group AS
@@ -100,7 +100,7 @@ INSERT INTO single_counter (name, id_compteur, channel_name, nom_compteur, url_p
100100
any_value(st_x(coordonnees_geo)) as longitude,
101101
any_value(st_y(coordonnees_geo)) as latitude,
102102
FROM
103-
'comptage-multimodal-comptages.parquet'
103+
'public/comptage-multimodal-comptages.parquet'
104104
GROUP BY id_site, mode;
105105

106106

@@ -115,7 +115,7 @@ CREATE VIEW merged_counters AS
115115
id_site || mode,
116116
nb_usagers,
117117
t
118-
FROM 'comptage-multimodal-comptages.parquet';
118+
FROM 'public/comptage-multimodal-comptages.parquet';
119119

120120
-- Create a table by timespan we want to represent
121121
-- The dates are exported as text because it will be serialized as json

0 commit comments

Comments
 (0)