This commit is contained in:
parent
3f77816ddc
commit
f938f30c61
@ -10,14 +10,14 @@ jobs:
|
|||||||
- name: Create example content
|
- name: Create example content
|
||||||
run: |
|
run: |
|
||||||
mkdir -p web
|
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
|
echo "<h1>Works again</h1>" > web/other.html
|
||||||
|
|
||||||
- name: Upload web docs
|
- name: Upload web docs
|
||||||
uses: https://git.pvv.ntnu.no/Projects/rsync-action@${{ gitea.ref_name }}
|
uses: https://git.pvv.ntnu.no/Projects/rsync-action@${{ gitea.ref_name }}
|
||||||
with:
|
with:
|
||||||
source: web
|
source: web
|
||||||
target: ${{ gitea.ref_name }}/web
|
target: ${{ gitea.ref_name }}
|
||||||
username: gitea-web
|
username: gitea-web
|
||||||
ssh-key: ${{ secrets.WEB_SYNC_SSH_KEY }}
|
ssh-key: ${{ secrets.WEB_SYNC_SSH_KEY }}
|
||||||
host: bekkalokk.pvv.ntnu.no
|
host: bekkalokk.pvv.ntnu.no
|
||||||
|
Loading…
Reference in New Issue
Block a user