Compare commits
6 commits
2bf6719f70
...
c3e1dc84f3
| Author | SHA1 | Date | |
|---|---|---|---|
| c3e1dc84f3 | |||
| 48f4d689a5 | |||
| 742fc6916d | |||
| 005539fbf9 | |||
| d992257d92 | |||
| a9d95b500a |
8 changed files with 24 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
14
Dockerfile
14
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
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
<a href="index.html">maison</a>
|
||||
<a href="guide.html">guide</a>
|
||||
<a href="programme.html">programme</a>
|
||||
<a href="carte/">carte</a>
|
||||
<a href="poster.html">poster</a>
|
||||
<a href="contact.html" class="current">contact</a>
|
||||
</nav>
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ BISOUS
|
|||
<a href="index.html">maison</a>
|
||||
<a href="guide.html" class="current">guide</a>
|
||||
<a href="programme.html">programme</a>
|
||||
<a href="carte/">carte</a>
|
||||
<a href="poster.html">poster</a>
|
||||
<a href="contact.html">contact</a>
|
||||
</nav>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
<a href="index.html" class="current">maison</a>
|
||||
<a href="guide.html">guide</a>
|
||||
<a href="programme.html">programme</a>
|
||||
<a href="carte/index.html">carte</a>
|
||||
<a href="poster.html">poster</a>
|
||||
<a href="contact.html">contact</a>
|
||||
</nav>
|
||||
|
|
@ -111,11 +112,6 @@
|
|||
</span>
|
||||
</div>
|
||||
<div>places déjà réservées.</div>
|
||||
|
||||
<p>
|
||||
Si des places se libèrent, tu peux faire une demande sur
|
||||
<a class="btn-nice" href="https://grist.interhacker.space/o/camp/forms/eJxwFtkGFCYUQBq4kPLWUg/4">la liste d'attente</a>
|
||||
</p>
|
||||
<br>
|
||||
<p>Et nous avons reçu</p>
|
||||
<div class="places">
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
<a href="index.html">maison</a>
|
||||
<a href="guide.html">guide</a>
|
||||
<a href="programme.html">programme</a>
|
||||
<a href="carte/">carte</a>
|
||||
<a href="poster.html" class="current">poster</a>
|
||||
<a href="contact.html">contact</a>
|
||||
</nav>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
<a href="index.html">maison</a>
|
||||
<a href="guide.html">guide</a>
|
||||
<a href="programme.html" class="current">programme</a>
|
||||
<a href="carte/">carte</a>
|
||||
<a href="poster.html">poster</a>
|
||||
<a href="contact.html">contact</a>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue