WIP: Intégration de la carte du camp #58
7 changed files with 23 additions and 14 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>
|
||||
|
|
|
|||
|
|
@ -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