Files
website/.gitea/workflows/deploy.yaml
Roberto Musso c60a9c2b1f
Some checks failed
Deploy HTML to Docker LXC / deploy (push) Failing after 2m20s
rename the site
2026-04-08 23:52:33 +02:00

24 lines
622 B
YAML

name: Deploy HTML to Docker LXC
run-name: Deploying static site by ${{ github.actor }}
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest # Adjust if your runner uses a different label
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Copy HTML files to Docker LXC
uses: appleboy/scp-action@v0.1.7
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
source: "index.html"
target: "/opt/adiuvai-website/html/"
overwrite: true