From d8edb61bbfd848f413536bbba174d24ab0b24be3 Mon Sep 17 00:00:00 2001 From: nono-lqdn Date: Mon, 26 Jan 2026 14:35:10 +0100 Subject: [PATCH 1/3] Ajout d'un fichier d'action pour CI fix(ci): don't run on docker Revert "fix(ci): don't run on docker" This reverts commit 3e833a5960d7fdf01df031d81d9ae271e04c7671. fix(ci): use podman fix(ci): podman username opt fix(ci): podman, defaulting on not stdin password Revert "fix(ci): podman, defaulting on not stdin password" This reverts commit a7a86ff25a24ebd8c56246cd2ece91fdff805f2e. --- .forgejo/workflows/build.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .forgejo/workflows/build.yaml diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..3c80f2e --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,24 @@ +on: [push] +jobs: + build: + runs-on: docker + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - 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 + + - name: Build Container Image + run: | + podman build -t git.interhacker.space/interhack/camp-website-2026:latest . + + - name: Push Container Image + run: | + podman push git.interhacker.space/interhack/camp-website-2026:latest From 738cde0f4ae0a89c9f6252abd8aab5f6a1cf0bdc Mon Sep 17 00:00:00 2001 From: Hadrien Date: Tue, 24 Mar 2026 19:16:19 +0100 Subject: [PATCH 2/3] fix(ci): build guide.html --- .forgejo/workflows/build.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 3c80f2e..1467c91 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -6,6 +6,14 @@ 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 From fa03cf79ccd20fe486b33f1cec72c0eb81c4a8a9 Mon Sep 17 00:00:00 2001 From: Hadrien Date: Tue, 24 Mar 2026 19:21:47 +0100 Subject: [PATCH 3/3] fix(ci): curl flags --- update-guide.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-guide.sh b/update-guide.sh index f1c4990..0bdd1bb 100755 --- a/update-guide.sh +++ b/update-guide.sh @@ -8,7 +8,7 @@ echo "Mise a jour du guide dans guide.html a partir du edgedoc" echo "$GUIDE_EDGEDOC_URL" set -e -curl --silent --fail-with-body "$GUIDE_EDGEDOC_URL/download" > guide.tmp.md +curl --silent --fail "$GUIDE_EDGEDOC_URL/download" > guide.tmp.md pandoc --from markdown --to html guide.tmp.md > guide.tmp.html cat guide.template.html \ | sed '/EDGEDOC/{