diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 1467c91..fe5a699 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -1,4 +1,7 @@ -on: [push] +on: + push: + branches: + - main jobs: build: runs-on: docker @@ -6,19 +9,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Install Pandoc - run: | - apt-get update - apt-get install -y pandoc - - - name: Generate guide.html - run: bash update-guide.sh - - - name: Install Podman - run: | - apt-get update - apt-get install -y podman - - name: Podman Login run: | echo "${{ secrets.DOCKER_PASSWORD }}" | podman login git.interhacker.space --username "${{ secrets.DOCKER_USERNAME }}" --password-stdin diff --git a/Dockerfile b/Dockerfile index 818cbb7..5482b4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,20 @@ FROM docker.io/nginx:1.29-alpine +RUN apk add --update --no-cache wget unzip bash pandoc sed + +RUN wget -q https://git.interhacker.space/epickiwi/2026.camp.carte/releases/download/latest/dist.zip +RUN unzip -q dist.zip -d /tmp/carte +RUN mkdir -p /usr/share/nginx/html/carte +RUN cp -r /tmp/carte/dist/* /usr/share/nginx/html/carte/ +RUN rm -rf /tmp/carte +RUN rm -rf dist.zip + +COPY guide.template.html . +COPY update-guide.sh . +RUN bash update-guide.sh + COPY *.html /usr/share/nginx/html +RUN mv guide.html /usr/share/nginx/html COPY assets /usr/share/nginx/html/assets COPY css /usr/share/nginx/html/css COPY js /usr/share/nginx/html/js diff --git a/contact.html b/contact.html index f11e331..c1ca0d6 100644 --- a/contact.html +++ b/contact.html @@ -17,6 +17,7 @@ maison guide programme + carte poster contact diff --git a/guide.template.html b/guide.template.html index 3de6d83..f9c73ec 100644 --- a/guide.template.html +++ b/guide.template.html @@ -23,6 +23,7 @@ BISOUS maison guide programme + carte poster contact diff --git a/index.html b/index.html index e29518f..7400a9f 100644 --- a/index.html +++ b/index.html @@ -19,6 +19,7 @@ maison guide programme + carte poster contact @@ -111,11 +112,6 @@
places déjà réservées.
- -

- Si des places se libèrent, tu peux faire une demande sur - la liste d'attente -


Et nous avons reçu

diff --git a/js/progress.js b/js/progress.js index 481cb21..fe05cd7 100644 --- a/js/progress.js +++ b/js/progress.js @@ -1,7 +1,7 @@ const gauge_url = "https://api.camp.interhacker.space/api/gauge" const fundraising_url = "https://api.camp.interhacker.space/api/fundraising" const gaugeMax = 200; -const fundraisingTotalMax = 10530; +const fundraisingTotalMax = 13355.82; async function getGauge() { // // REMOVE WHEN SIGNUP FORM IS OPEN diff --git a/poster.html b/poster.html index 7ae1ffa..1a5ccb5 100644 --- a/poster.html +++ b/poster.html @@ -17,6 +17,7 @@ maison guide programme + carte poster contact diff --git a/programme.html b/programme.html index 86596fa..d93a568 100644 --- a/programme.html +++ b/programme.html @@ -19,6 +19,7 @@ maison guide programme + carte poster contact