Compare commits

...

8 commits

Author SHA1 Message Date
e87b436ec8 Move the build actions from Forgejo actions to docker build actions 2026-07-02 10:03:25 +00:00
967ef1bf72 Add map download, add guide generation to dockerfile 2026-07-02 10:03:25 +00:00
8c23511c6b Add link to the map in every html file 2026-07-02 10:03:25 +00:00
94ab6897d5 Only run actions when a push happens on the main branch 2026-07-02 10:03:25 +00:00
3c36572ce1 revert 9f6593331c
Some checks failed
/ build (push) Failing after 0s
revert Change de runner
2026-07-01 14:48:34 +00:00
9f6593331c Change de runner
Some checks failed
/ build (push) Failing after 27s
2026-07-01 13:57:25 +00:00
05d5b6cfa9 Merge pull request 'Changement du texte du lien vers le space Matrix' (#60) from fix/page-contact-lien-matrix into main
Some checks failed
/ build (push) Failing after 1s
Reviewed-on: #60
2026-06-30 21:00:16 +00:00
89b1057cc6 Changement du texte du lien vers le space Matrix
Some checks failed
/ build (push) Has been cancelled
2026-06-30 22:28:57 +02:00
7 changed files with 24 additions and 15 deletions

View file

@ -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

View file

@ -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

View file

@ -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>
@ -41,7 +42,7 @@
</div>
<div>
<h3>Matrix :</h3>
<a href="https://matrix.to/#/#camp-space:matrix.interhacker.space" class="matrix-link">#interhack:matrix.interhacker.space</a>
<a href="https://matrix.to/#/#camp-space:matrix.interhacker.space" class="matrix-link">#camp-space:matrix.interhacker.space</a>
</div>
</section>
</main>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>