3 Commits
v1 ... main

Author SHA1 Message Date
2eaf7b8d5d .gitea/workflows: update gitea-web target host
All checks were successful
Test upload web docs / test (push) Successful in 28s
2025-08-03 04:51:34 +02:00
626b7f1984 LICENSE: change copyright to pvv
Some checks failed
Test upload web docs / test (push) Failing after 26s
2025-03-17 16:30:04 +01:00
0cf142fc51 .gitea/test: init
All checks were successful
Test upload web docs / test (push) Successful in 24s
2024-12-10 21:02:57 +01:00
2 changed files with 26 additions and 2 deletions

24
.gitea/workflows/test.yml Normal file
View File

@@ -0,0 +1,24 @@
name: Test upload web docs
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Create example content
run: |
mkdir -p web
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 }}
username: gitea-web
ssh-key: ${{ secrets.WEB_SYNC_SSH_KEY }}
host: pages.pvv.ntnu.no
known-hosts: "pages.pvv.ntnu.no ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH2QjfFB+city1SYqltkVqWACfo1j37k+oQQfj13mtgg"

View File

@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2024 h7x4
Copyright (c) 2025 Programvareverkstedet
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal