This commit is contained in:
parent
e7509a9225
commit
bbd3095727
3 changed files with 13 additions and 4 deletions
|
@ -12,7 +12,8 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
# by default it runs on a node.js debian image
|
container:
|
||||||
|
image: code.forgejo.org/oci/node:20-bookworm
|
||||||
steps:
|
steps:
|
||||||
- name: Install rsync
|
- name: Install rsync
|
||||||
run: apt update && apt install -y rsync
|
run: apt update && apt install -y rsync
|
||||||
|
@ -39,12 +40,12 @@ jobs:
|
||||||
run: echo "${{ secrets.SRV06_DEPLOY_WEBSITE_SSH_KEY }}" > ~/.ssh/id_edsa
|
run: echo "${{ secrets.SRV06_DEPLOY_WEBSITE_SSH_KEY }}" > ~/.ssh/id_edsa
|
||||||
- name: Upload
|
- name: Upload
|
||||||
env:
|
env:
|
||||||
OUTPUT_PATH: "/warmd/etoiledebethleem/websites/main/${{ GITHUB_BASE_REF }}"
|
OUTPUT_PATH: "/warmd/etoiledebethleem/websites/main/"
|
||||||
REMOTE_USER: forgejo_actions_websites
|
REMOTE_USER: forgejo_actions_websites
|
||||||
SRV_HOST: srv06.lefuturiste.fr
|
SRV_HOST: srv06.lefuturiste.fr
|
||||||
run: |
|
run: |
|
||||||
rsync --perms --archive --stats \
|
rsync --perms --archive --stats -v \
|
||||||
-e 'ssh -i ~/.ssh/id_edsa -o StrictHostKeyChecking=no' ./public \
|
-e 'ssh -i ~/.ssh/id_edsa -o StrictHostKeyChecking=no' ./public \
|
||||||
${REMOTE_USER}@${SRV_HOST}:${OUTPUT_PATH}
|
$REMOTE_USER@$SRV_HOST:$OUTPUT_PATH$GITHUB_REF_NAME
|
||||||
|
|
||||||
|
|
|
@ -36,3 +36,6 @@ Pour les curieux, ce site est réalisé avec [Hugo](https://gohugo.io/).
|
||||||
|
|
||||||
Vous pouvez trouver [le code source de ce site web sur ce dépot en ligne](https://forge.lefuturiste.fr/etoiledebethleem/website).
|
Vous pouvez trouver [le code source de ce site web sur ce dépot en ligne](https://forge.lefuturiste.fr/etoiledebethleem/website).
|
||||||
|
|
||||||
|
## Version
|
||||||
|
|
||||||
|
Version du site : `v1.0`
|
||||||
|
|
5
content/donnees-personnelles.md
Normal file
5
content/donnees-personnelles.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Politique de données personnelles
|
||||||
|
---
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
Loading…
Reference in a new issue