2026.camp.public.website/.forgejo/workflows/build.yaml
Hadrien 738cde0f4a
Some checks failed
/ build (push) Failing after 1m29s
fix(ci): build guide.html
2026-03-24 19:16:19 +01:00

32 lines
856 B
YAML

on: [push]
jobs:
build:
runs-on: docker
steps:
- 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
- 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