its-network/.forgejo/workflows/deploy.yml
Wachtl Enterprises LLC dd6f200d44 Bool is not string
Signed-off-by: Wachtl Enterprises LLC <tyrolyean@escpe.net>
2025-03-17 14:33:20 +00:00

27 lines
787 B
YAML

name: ci # (1)!
on:
push:
branches:
- master # (2)!
- main
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
container:
image: tea.srv.it-syndikat.org/arch/archimage:latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV # (3)!
- name: "Build mkdocs site"
run: |
mkdocs build
echo "${{ secrets.SSH_DOCS }}" > ~/.ssh/id_ed25519
echo "web.srv.it-syndikat.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHBRXGn/UNvz31QMDm1jqR+97aZ0xy6kQS9wnuDOukET" >> ~/.ssh/known_hosts
chmod -R 700 ~/.ssh
rsync -vva --delete-after site/* deployer@web.srv.it-syndikat.org:/