Compare commits
10 Commits
70dca69eb3
...
6f0858757f
Author | SHA1 | Date | |
---|---|---|---|
6f0858757f | |||
4b9173728b | |||
77f759f53e | |||
25a0ccd642 | |||
cd2dd7fea7 | |||
7201a3f571 | |||
076dcc7006 | |||
6b24c17d4a | |||
df117d02ef | |||
f96edc120b |
28
.gitea/workflows/build_and_deploy.yml
Normal file
28
.gitea/workflows/build_and_deploy.yml
Normal 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
|
@ -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
|
5
src/.well-known/matrix/client
Normal file
5
src/.well-known/matrix/client
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"m.homeserver": {
|
||||
"base_url": "https://matrix.louis-vallat.dev"
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"m.server": "matrix.louis-vallat.fr:443"
|
||||
"m.server": "matrix.louis-vallat.dev:443"
|
||||
}
|
||||
|
||||
|
@ -16,17 +16,17 @@ PAGE CODED BY :
|
||||
<!-- SEO -->
|
||||
<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="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:title" content="Louis Vallat">
|
||||
<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: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: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:url" content="https://louis-vallat.fr/">
|
||||
<meta name="og:image" content="https://louis-vallat.dev/assets/images/square_pp.jpg">
|
||||
<meta name="og:url" content="https://louis-vallat.dev/">
|
||||
<meta name="og:locale" content="fr_FR">
|
||||
<meta name="og:type" content="website">
|
||||
<link rel="icon" href="/assets/images/favicon.ico">
|
||||
@ -35,6 +35,8 @@ PAGE CODED BY :
|
||||
<!-- CSS -->
|
||||
<link rel="stylesheet" href="assets/css/reset.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>
|
||||
<body>
|
||||
<div id="landing-zone">
|
||||
@ -54,7 +56,7 @@ PAGE CODED BY :
|
||||
<img src="/assets/images/location.svg" alt="Logo localisation"/><h6>Bordeaux — France</h6>
|
||||
</div>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
@ -224,19 +226,19 @@ PAGE CODED BY :
|
||||
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>
|
||||
<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 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 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://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://blog.louis-vallat.fr" target="_blank"><img src="/assets/images/article.svg" alt="Logo d'article"/>Blog</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.dev" target="_blank"><img src="/assets/images/message.svg" alt="Logo de messagerie"/>Matrix</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.dev" target="_blank"><img src="/assets/images/article.svg" alt="Logo d'article"/>Blog</a>
|
||||
</div>
|
||||
</div>
|
||||
<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>.
|
||||
</p>
|
||||
<p class="lightgrey" id="copyright">
|
||||
Louis Vallat — 2022 — Made with ❤ and <a href="https://gitlab.com/lovallat/louis-vallat.xyz" target="_blank">Open Source</a> — __VERSION__
|
||||
Louis Vallat — 2022 — Made with ❤ and <a href="https://gitlab.com/lovallat/website" target="_blank">Open Source</a> — __VERSION__
|
||||
</p>
|
||||
</footer>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user