Compare commits

..

10 Commits

Author SHA1 Message Date
6f0858757f
feat: moved to gitea workflows for CI/CD
Some checks failed
Build and deploy website / Build-and-deploy (push) Failing after 6s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2024-09-05 21:32:25 +02:00
4b9173728b
feat: migrated most of the subdomains to .dev tld
Signed-off-by: Louis Vallat <contact@louis-vallat.fr>
2024-07-28 12:23:14 +02:00
77f759f53e
feat: added matrix client well known file
Signed-off-by: Louis Vallat <contact@louis-vallat.fr>
2024-07-28 12:08:14 +02:00
25a0ccd642
feat: moved .well-known for matrix to .dev
Signed-off-by: Louis Vallat <contact@louis-vallat.fr>
2024-07-28 11:54:55 +02:00
cd2dd7fea7
feat: moved var www folder to .dev
Signed-off-by: Louis Vallat <contact@louis-vallat.fr>
2024-07-27 13:26:56 +02:00
7201a3f571
feat: updated gitlab ci scripts
Signed-off-by: Louis Vallat <contact@louis-vallat.fr>
2024-07-27 13:15:00 +02:00
076dcc7006
feat: added umami script tag and moved some urls to .dev tld
Signed-off-by: Louis Vallat <contact@louis-vallat.fr>
2024-07-27 13:10:39 +02:00
6b24c17d4a
feat: added nofollow to mastodon link as it cause SEO issues
Signed-off-by: Louis Vallat <contact@louis-vallat.fr>
2024-02-11 18:04:50 +01:00
df117d02ef
feat: updated contact email address to .fr TLD
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2022-11-28 11:03:44 +01:00
f96edc120b
chore: changed gitlab registry url
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2022-11-20 20:45:30 +01:00
5 changed files with 47 additions and 62 deletions

View File

@ -0,0 +1,28 @@
name: Build and deploy website
defaults:
run:
shell: sh
on:
push:
branches:
- master
jobs:
Build-and-deploy:
runs-on: alpine
steps:
- name: Install dependencies
run: |
apk add git openssh rsync
- name: Check out repository code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Deploy website using rsync
run: |
eval $(ssh-agent -s)
echo "${{ secrets.SSH_PRIVATE_KEY }}" | tr -d '\r' | ssh-add -
mkdir -p ~/.ssh
chmod 700 ~/.ssh
rsync -e "ssh -o StrictHostKeyChecking=no -p ${{ secrets.SSH_PORT }}" -rvz ./public/ ${{ secrets.SSH_DESTINATION }}:/var/www/louis-vallat.dev/ --delete

View File

@ -1,50 +0,0 @@
image: docker:latest
services:
- docker:dind
stages:
- release
- deploy
# Disable the Gradle daemon for Continuous Integration servers as correctness
# is usually a priority over speed in CI environments. Using a fresh
# runtime for each build is more reliable since the runtime is completely
# isolated from any previous builds.
variables:
# Use TLS https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: "/certs"
CONTAINER_BRANCH_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
CONTAINER_RELEASE_IMAGE: $CI_REGISTRY_IMAGE:latest
release:
stage: release
script:
- sed -i "s/__VERSION__/${CI_COMMIT_SHORT_SHA}/" src/index.html
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build . -t $CONTAINER_BRANCH_IMAGE
- docker push $CONTAINER_BRANCH_IMAGE
except:
- master
release-master:
stage: release
script:
- sed -i "s/__VERSION__/${CI_COMMIT_SHORT_SHA}/" src/index.html
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build . -t $CONTAINER_RELEASE_IMAGE
- docker push $CONTAINER_RELEASE_IMAGE
only:
- master
deploy:
stage: deploy
before_script:
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
script:
- ssh -o StrictHostKeyChecking=no -p $SSH_PORT $SSH_DESTINATION "cd $PATH_TO_APPLICATION; $UPGRADE_COMMAND;"
only:
- master

View File

@ -0,0 +1,5 @@
{
"m.homeserver": {
"base_url": "https://matrix.louis-vallat.dev"
}
}

View File

@ -1,4 +1,4 @@
{ {
"m.server": "matrix.louis-vallat.fr:443" "m.server": "matrix.louis-vallat.dev:443"
} }

View File

@ -16,17 +16,17 @@ PAGE CODED BY :
<!-- SEO --> <!-- SEO -->
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Un étudiant développeur, passionné de technologies, quelles qu'elles soient."> <meta name="description" content="Un étudiant développeur, passionné de technologies, quelles qu'elles soient.">
<meta name="image" content="https://louis-vallat.fr/assets/image/square_pp.jpg"> <meta name="image" content="https://louis-vallat.dev/assets/image/square_pp.jpg">
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Louis Vallat"> <meta name="twitter:title" content="Louis Vallat">
<meta name="twitter:description" content="Un étudiant développeur, passionné de technologies, quelles qu'elles soient."> <meta name="twitter:description" content="Un étudiant développeur, passionné de technologies, quelles qu'elles soient.">
<meta name="twitter:site" content="@VallatLouis"> <meta name="twitter:site" content="@VallatLouis">
<meta name="twitter:creator" content="@VallatLouis"> <meta name="twitter:creator" content="@VallatLouis">
<meta name="twitter:image:src" content="https://louis-vallat.fr/assets/images/square_pp.jpg"> <meta name="twitter:image:src" content="https://louis-vallat.dev/assets/images/square_pp.jpg">
<meta name="og:title" content="Louis Vallat"> <meta name="og:title" content="Louis Vallat">
<meta name="og:description" content="Un étudiant développeur, passionné de technologies, quelles qu'elles soient."> <meta name="og:description" content="Un étudiant développeur, passionné de technologies, quelles qu'elles soient.">
<meta name="og:image" content="https://louis-vallat.fr/assets/images/square_pp.jpg"> <meta name="og:image" content="https://louis-vallat.dev/assets/images/square_pp.jpg">
<meta name="og:url" content="https://louis-vallat.fr/"> <meta name="og:url" content="https://louis-vallat.dev/">
<meta name="og:locale" content="fr_FR"> <meta name="og:locale" content="fr_FR">
<meta name="og:type" content="website"> <meta name="og:type" content="website">
<link rel="icon" href="/assets/images/favicon.ico"> <link rel="icon" href="/assets/images/favicon.ico">
@ -35,6 +35,8 @@ PAGE CODED BY :
<!-- CSS --> <!-- CSS -->
<link rel="stylesheet" href="assets/css/reset.css"> <link rel="stylesheet" href="assets/css/reset.css">
<link rel="stylesheet" href="assets/css/main.css"> <link rel="stylesheet" href="assets/css/main.css">
<!-- Umami -->
<script defer src="https://umami.louis-vallat.dev/emmet.js" data-website-id="8f12aff0-060b-47bd-bed0-0426ead57ce8"></script>
</head> </head>
<body> <body>
<div id="landing-zone"> <div id="landing-zone">
@ -54,7 +56,7 @@ PAGE CODED BY :
<img src="/assets/images/location.svg" alt="Logo localisation"/><h6>Bordeaux &mdash; France</h6> <img src="/assets/images/location.svg" alt="Logo localisation"/><h6>Bordeaux &mdash; France</h6>
</div> </div>
<div id="call-to-action"> <div id="call-to-action">
<a class="button-style" href="mailto:contact@louis-vallat.xyz">Me contacter</a> <a class="button-style" href="mailto:contact@louis-vallat.dev">Me contacter</a>
<a class="button-style" href="#about">En savoir plus</a> <a class="button-style" href="#about">En savoir plus</a>
</div> </div>
</div> </div>
@ -224,19 +226,19 @@ PAGE CODED BY :
&nbsp;Véritable factotum du développement, j'aime mettre les mains dans le cambouis.<br/>Je gère ma propre infrastructure, qui ne cesse d'évoluer au fil des ans, qui héberge nombre de mes projets informatiques. J'aime aussi régler des problèmes avec du code, l'automatisation me fascine et le devops me passionne.<br/>Je suis aussi passionné de 👨‍💻, 📸, 🚄 et de 👨‍🔧. &nbsp;Véritable factotum du développement, j'aime mettre les mains dans le cambouis.<br/>Je gère ma propre infrastructure, qui ne cesse d'évoluer au fil des ans, qui héberge nombre de mes projets informatiques. J'aime aussi régler des problèmes avec du code, l'automatisation me fascine et le devops me passionne.<br/>Je suis aussi passionné de 👨‍💻, 📸, 🚄 et de 👨‍🔧.
</p> </p>
<div class="flex-sb" id="additional-links"> <div class="flex-sb" id="additional-links">
<a class="button-style" href="mailto:contact@louis-vallat.xyz" target="_blank"><img src="/assets/images/send.svg" alt="Logo envoi"/>M@il</a> <a class="button-style" href="mailto:contact@louis-vallat.dev" target="_blank"><img src="/assets/images/send.svg" alt="Logo envoi"/>M@il</a>
<a class="button-style" href="/key.pgp"><img src="/assets/images/key.svg" alt="Logo de clef"/>Ma clef PGP</a> <a class="button-style" href="/key.pgp"><img src="/assets/images/key.svg" alt="Logo de clef"/>Ma clef PGP</a>
<a rel="me" class="button-style" href="https://mastodon.louis-vallat.fr/@louis"><img src="/assets/images/add-social.svg" alt="Logo de réseau social"/>Mastodon</a> <a rel="me nofollow" class="button-style" href="https://mastodon.louis-vallat.dev/@louis"><img src="/assets/images/add-social.svg" alt="Logo de réseau social"/>Mastodon</a>
<a class="button-style" href="https://matrix.to/#/@louis:louis-vallat.fr" target="_blank"><img src="/assets/images/message.svg" alt="Logo de messagerie"/>Matrix</a> <a class="button-style" href="https://matrix.to/#/@louis:louis-vallat.dev" target="_blank"><img src="/assets/images/message.svg" alt="Logo de messagerie"/>Matrix</a>
<a class="button-style" href="https://gallery.louis-vallat.fr" target="_blank"><img src="/assets/images/camera.svg" alt="Logo d'appareil photo"/>Gallerie photo</a> <a class="button-style" href="https://gallery.louis-vallat.dev" target="_blank"><img src="/assets/images/camera.svg" alt="Logo d'appareil photo"/>Gallerie photo</a>
<a class="button-style" href="https://blog.louis-vallat.fr" target="_blank"><img src="/assets/images/article.svg" alt="Logo d'article"/>Blog</a> <a class="button-style" href="https://blog.louis-vallat.dev" target="_blank"><img src="/assets/images/article.svg" alt="Logo d'article"/>Blog</a>
</div> </div>
</div> </div>
<p id="inspiration" class="grey"> <p id="inspiration" class="grey">
Design inspiré par <a href="https://louisgrasset.fr/" target="_blank">ceci</a> et <a href="https://dribbble.com/shots/6672981-Personal-Website-Idea-V2/attachments/6672981-Personal-Website-Idea-V2?mode=media" target="_blank">ceci</a>. Design inspiré par <a href="https://louisgrasset.fr/" target="_blank">ceci</a> et <a href="https://dribbble.com/shots/6672981-Personal-Website-Idea-V2/attachments/6672981-Personal-Website-Idea-V2?mode=media" target="_blank">ceci</a>.
</p> </p>
<p class="lightgrey" id="copyright"> <p class="lightgrey" id="copyright">
Louis Vallat &mdash; 2022 &mdash; Made with ❤ and <a href="https://gitlab.com/lovallat/louis-vallat.xyz" target="_blank">Open Source</a> &mdash; __VERSION__ Louis Vallat &mdash; 2022 &mdash; Made with ❤ and <a href="https://gitlab.com/lovallat/website" target="_blank">Open Source</a> &mdash; __VERSION__
</p> </p>
</footer> </footer>
</body> </body>