WIP
All checks were successful
Test upload web docs / test (push) Successful in 24s

This commit is contained in:
Oystein Kristoffer Tveit 2024-12-10 20:54:35 +01:00
parent 3f77816ddc
commit f938f30c61
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146

View File

@ -10,14 +10,14 @@ jobs:
- name: Create example content
run: |
mkdir -p web
echo "<h1>Works</h1><a href="other.html">" > web/index.html
echo "<h1>Works</h1><a href="other.html">Link to other page</a>" > web/index.html
echo "<h1>Works again</h1>" > web/other.html
- name: Upload web docs
uses: https://git.pvv.ntnu.no/Projects/rsync-action@${{ gitea.ref_name }}
with:
source: web
target: ${{ gitea.ref_name }}/web
target: ${{ gitea.ref_name }}
username: gitea-web
ssh-key: ${{ secrets.WEB_SYNC_SSH_KEY }}
host: bekkalokk.pvv.ntnu.no