Attempt to build documentation.
This commit is contained in:
parent
0665b50d57
commit
11b437794e
2 changed files with 19 additions and 1 deletions
19
.gitea/workflows/docs.yaml
Normal file
19
.gitea/workflows/docs.yaml
Normal file
|
@ -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"
|
|
@ -20,4 +20,3 @@ docker-compose --file tests/end-to-end/docker-compose.yaml --progress quiet up -
|
||||||
--renew-anon-volumes --detach
|
--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 attach tests
|
||||||
docker-compose --file tests/end-to-end/docker-compose.yaml --progress quiet down
|
docker-compose --file tests/end-to-end/docker-compose.yaml --progress quiet down
|
||||||
ls -R
|
|
||||||
|
|
Loading…
Reference in a new issue