All checks were successful
Deploy HTML to Docker LXC / deploy (push) Successful in 4s
24 lines
621 B
YAML
24 lines
621 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/adiuva-website/html/"
|
|
overwrite: true |