From 62ce7b242cc1c4a11e8433abf4f10454e00b4cfe Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 21:50:41 +0100 Subject: [PATCH 01/16] better experience on mobile and touchscreens --- src/style.css | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/style.css b/src/style.css index f83f219..b07fb2c 100644 --- a/src/style.css +++ b/src/style.css @@ -112,13 +112,18 @@ h2#subtitle > span > span { position: absolute; left: 1rem; bottom: 0; - height: min(80vh, 100vh - 10.5rem); + + height: 80vh; min-height: 15rem; - width: auto; + max-height: calc(100vh - 10.5rem); + max-width: calc(100vw - 15em); + + object-fit: contain; + object-position: left bottom; } i svg { - height: 2em; + height: 2.5em; color: #131721; fill: currentColor; } @@ -142,8 +147,16 @@ ul#contact { } #photo { max-height: 50vh; + max-width: none; } ul#contact { flex-direction: column; } +} + +@media (pointer:coarse) { + i svg { + height: 3em; + padding: .5em 0; + } } \ No newline at end of file From 8c157ba7846bb2ba67d43ce01f0d512258008ed9 Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:00:53 +0100 Subject: [PATCH 02/16] testing actions --- .forgejo/workflows/deploy.yaml | 23 +++++++++++++++++++++++ .forgejo/workflows/test.yaml | 6 ++++++ 2 files changed, 29 insertions(+) create mode 100644 .forgejo/workflows/deploy.yaml create mode 100644 .forgejo/workflows/test.yaml diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml new file mode 100644 index 0000000..e7faa66 --- /dev/null +++ b/.forgejo/workflows/deploy.yaml @@ -0,0 +1,23 @@ +on: + push: + tags: + - 'v*' +# jobs: +# deploy: +# runs-on: ubuntu-latest +# steps: +# - name: Checkout +# uses: xxxxxxxxxxxxxxxx@xx +# - name: Setup Node.js +# uses: xxxxxxxxxxxxxxxxxx@xx +# with: +# node-version: '12.x' +# - name: Install dependencies +# run: npm install +# - name: Build +# run: npm run build +# - name: Deploy +# uses: xxxxxxxxxxxxxxxxxxxxxxxxxx@xx +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} +# publish_dir: ./dist \ No newline at end of file diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml new file mode 100644 index 0000000..21280bd --- /dev/null +++ b/.forgejo/workflows/test.yaml @@ -0,0 +1,6 @@ +on: [push] +jobs: + test: + runs-on: docker + steps: + - run: echo All Good \ No newline at end of file From acb097d8f734c767afb2eac26fa29f2427b8762d Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:11:29 +0100 Subject: [PATCH 03/16] testing actions --- .forgejo/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index 21280bd..240bc0f 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -3,4 +3,5 @@ jobs: test: runs-on: docker steps: - - run: echo All Good \ No newline at end of file + - shell: ash + run: echo All Good \ No newline at end of file From e255f0343da309502f6d51107167c9bf31c594c1 Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:23:09 +0100 Subject: [PATCH 04/16] testing actions --- .forgejo/workflows/deploy.yaml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index e7faa66..7d62c05 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -1,13 +1,17 @@ -on: - push: - tags: - - 'v*' -# jobs: -# deploy: -# runs-on: ubuntu-latest -# steps: -# - name: Checkout -# uses: xxxxxxxxxxxxxxxx@xx +# on: +# push: +# tags: +# - 'v*' +on: [push] +jobs: + build: + runs-on: docker # default is alpine:3.19 + steps: + - uses: actions/checkout@v3 + - shell: ash + run: | + ls ${{ github.workspace }} + # - name: Setup Node.js # uses: xxxxxxxxxxxxxxxxxx@xx # with: From 9125fb0b90f675453a316f0f17bbbf0a0ffba808 Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:24:09 +0100 Subject: [PATCH 05/16] testing actions --- .forgejo/workflows/deploy.yaml | 2 +- .forgejo/workflows/test.yaml | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 .forgejo/workflows/test.yaml diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 7d62c05..8a078b3 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v3 - shell: ash run: | - ls ${{ github.workspace }} + ls ${{ github.workspace }} # - name: Setup Node.js # uses: xxxxxxxxxxxxxxxxxx@xx diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml deleted file mode 100644 index 240bc0f..0000000 --- a/.forgejo/workflows/test.yaml +++ /dev/null @@ -1,7 +0,0 @@ -on: [push] -jobs: - test: - runs-on: docker - steps: - - shell: ash - run: echo All Good \ No newline at end of file From 5886283e391b1219f215bdc8bcc102d743503868 Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:31:15 +0100 Subject: [PATCH 06/16] testing actions --- .forgejo/workflows/deploy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 8a078b3..40d1316 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -6,6 +6,8 @@ on: [push] jobs: build: runs-on: docker # default is alpine:3.19 + container: + image: debian:stable-slim steps: - uses: actions/checkout@v3 - shell: ash From 0b23795ba26623c10f904c7851fffea50e17ca66 Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:36:17 +0100 Subject: [PATCH 07/16] testing actions --- .forgejo/workflows/deploy.yaml | 40 +++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 40d1316..210c8ab 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -5,25 +5,31 @@ on: [push] jobs: build: - runs-on: docker # default is alpine:3.19 + runs-on: docker container: - image: debian:stable-slim + image: node:16-bullseye" # Default for Forgejo steps: - uses: actions/checkout@v3 - shell: ash run: | - ls ${{ github.workspace }} - -# - name: Setup Node.js -# uses: xxxxxxxxxxxxxxxxxx@xx -# with: -# node-version: '12.x' -# - name: Install dependencies -# run: npm install -# - name: Build -# run: npm run build -# - name: Deploy -# uses: xxxxxxxxxxxxxxxxxxxxxxxxxx@xx -# with: -# github_token: ${{ secrets.GITHUB_TOKEN }} -# publish_dir: ./dist \ No newline at end of file + ls ${{ github.workspace } + - name: Install dependencies + run: npm install + - name: Build + run: npx @11ty/eleventy + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: dist + path: dist/ + deploy: + needs: [build] + runs-on: docker # Defaults to Alpine in my runner + steps: + - uses: actions/download-artifact@v3 + with: + name: dist + - name: List all files + shell: ash + run: | + ls -la dist \ No newline at end of file From c288588b334e93b04daf8ae087d5356b7d2c47bc Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:37:16 +0100 Subject: [PATCH 08/16] testing actions --- .forgejo/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 210c8ab..e082dca 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -7,7 +7,7 @@ jobs: build: runs-on: docker container: - image: node:16-bullseye" # Default for Forgejo + image: docker.io/node:16-bullseye" # Default for Forgejo steps: - uses: actions/checkout@v3 - shell: ash From ae1017b5058947f10cbb7ae7ebcd2c1a9d91d5d5 Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:38:25 +0100 Subject: [PATCH 09/16] testing actions --- .forgejo/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index e082dca..f0f7242 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -7,7 +7,7 @@ jobs: build: runs-on: docker container: - image: docker.io/node:16-bullseye" # Default for Forgejo + image: node:16-bullseye # Default for Forgejo steps: - uses: actions/checkout@v3 - shell: ash From 1c48e8d08903eb3de2695e8dbf206e2542fb679d Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:39:22 +0100 Subject: [PATCH 10/16] testing actions --- .forgejo/workflows/deploy.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index f0f7242..c39a45a 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -10,9 +10,6 @@ jobs: image: node:16-bullseye # Default for Forgejo steps: - uses: actions/checkout@v3 - - shell: ash - run: | - ls ${{ github.workspace } - name: Install dependencies run: npm install - name: Build From df2e9a107be155cd6ecbd9f90efe6ea4490c9b30 Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:40:59 +0100 Subject: [PATCH 11/16] testing actions --- .forgejo/workflows/deploy.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index c39a45a..f7b158c 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -7,7 +7,7 @@ jobs: build: runs-on: docker container: - image: node:16-bullseye # Default for Forgejo + image: node:16-bullseye # Required by actions/checkout and actions/upload-artifact steps: - uses: actions/checkout@v3 - name: Install dependencies @@ -21,12 +21,11 @@ jobs: path: dist/ deploy: needs: [build] - runs-on: docker # Defaults to Alpine in my runner + runs-on: node:16-bullseye # Required by actions/download-artifact steps: - uses: actions/download-artifact@v3 with: name: dist - name: List all files - shell: ash run: | ls -la dist \ No newline at end of file From 77c1e20021ed3a4d1a12618c061d59cbb5e1fd28 Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:44:36 +0100 Subject: [PATCH 12/16] testing actions --- .forgejo/workflows/deploy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index f7b158c..999a1f9 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -21,7 +21,9 @@ jobs: path: dist/ deploy: needs: [build] - runs-on: node:16-bullseye # Required by actions/download-artifact + runs-on: docker + container: + image: node:16-bullseye # Required by actions/download-artifact steps: - uses: actions/download-artifact@v3 with: From b897cdb797d1ac3fabc670604a98fd8d17bd355a Mon Sep 17 00:00:00 2001 From: Louis Guidez reind33r Date: Wed, 7 Feb 2024 23:48:48 +0100 Subject: [PATCH 13/16] testing actions --- .forgejo/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 999a1f9..622602e 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -30,4 +30,4 @@ jobs: name: dist - name: List all files run: | - ls -la dist \ No newline at end of file + ls -la \ No newline at end of file From 536a57ba7a8846f1d8e314ffd2010ec04e02d125 Mon Sep 17 00:00:00 2001 From: Louis Guidez Date: Thu, 8 Feb 2024 10:08:53 +0000 Subject: [PATCH 14/16] test flow --- .forgejo/workflows/deploy.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 622602e..860758b 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -28,6 +28,12 @@ jobs: - uses: actions/download-artifact@v3 with: name: dist - - name: List all files - run: | - ls -la \ No newline at end of file + - name: rsync deployment + uses: https://github.com/Burnett01/rsync-deployments@6.0.0 + with: + switches: -az --no-o --no-g --no-devices --no-specials --delete --progress --checksum + path: . + remote_path: ${{ secrets.DEPLOY_PATH }} + remote_host: ${{ secrets.DEPLOY_HOST }} + remote_user: ${{ secrets.DEPLOY_USER }} + remote_key: ${{ secrets.DEPLOY_KEY }} \ No newline at end of file From 1afcdf8735970e9fc0b5c5d30a9036337fe03a45 Mon Sep 17 00:00:00 2001 From: Louis Guidez Date: Thu, 8 Feb 2024 10:56:02 +0000 Subject: [PATCH 15/16] hostux actions fork instead of github --- .forgejo/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 860758b..e992700 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -29,7 +29,7 @@ jobs: with: name: dist - name: rsync deployment - uses: https://github.com/Burnett01/rsync-deployments@6.0.0 + uses: https://git.hostux.fr/Hostux/rsync-deployments@6.0.0 with: switches: -az --no-o --no-g --no-devices --no-specials --delete --progress --checksum path: . From 2a99bbead452e4957d6c64022885a6f3061ed193 Mon Sep 17 00:00:00 2001 From: Louis Guidez Date: Thu, 8 Feb 2024 10:58:16 +0000 Subject: [PATCH 16/16] deploy action now only for tags pushed --- .forgejo/workflows/deploy.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index e992700..b967e68 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -1,8 +1,8 @@ -# on: -# push: -# tags: -# - 'v*' -on: [push] +on: + push: + tags: + - 'v*' + jobs: build: runs-on: docker