From 11b437794ee76f33a07b60a267cb96d44475755c Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 6 Mar 2024 16:38:34 -0800 Subject: [PATCH] Attempt to build documentation. --- .gitea/workflows/docs.yaml | 19 +++++++++++++++++++ scripts/run-end-to-end-tests | 1 - 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/docs.yaml diff --git a/.gitea/workflows/docs.yaml b/.gitea/workflows/docs.yaml new file mode 100644 index 0000000..5d99e3b --- /dev/null +++ b/.gitea/workflows/docs.yaml @@ -0,0 +1,19 @@ +name: docs +run-name: ${{ gitea.actor }} is building documentation +on: + workflow_run: + workflows: [test] + types: + - completed +env: + IMAGE_NAME: projects.torsion.org/borgmatic-collective/borgmatic:docs + +jobs: + build: + runs-on: host + + steps: + - uses: actions/checkout@v4 + - run: podman login --username "${{ secrets.REGISTRY_USERNAME }}" --password "${{ secrets.REGISTRY_PASSWORD }}" projects.torsion.org + - run: podman build --tag "$IMAGE_NAME" --file docs/Dockerfile --storage-opt "overlay.mount_program=/usr/bin/fuse-overlayfs" . + - run: podman push "$IMAGE_NAME" diff --git a/scripts/run-end-to-end-tests b/scripts/run-end-to-end-tests index 01c9380..b665454 100755 --- a/scripts/run-end-to-end-tests +++ b/scripts/run-end-to-end-tests @@ -20,4 +20,3 @@ docker-compose --file tests/end-to-end/docker-compose.yaml --progress quiet up - --renew-anon-volumes --detach docker-compose --file tests/end-to-end/docker-compose.yaml --progress quiet attach tests docker-compose --file tests/end-to-end/docker-compose.yaml --progress quiet down -ls -R