From 18a74e3b0bd13b1a2876436f029c00db2b585b7f Mon Sep 17 00:00:00 2001 From: Camille Frantz Date: Fri, 8 Nov 2024 12:42:30 -0600 Subject: [PATCH 1/4] moving public/* to . --- ...c Nerd Font Complete Mono Windows Compatible.ttf | Bin ...ans Mono Bold Italic Nerd Font Complete Mono.ttf | Bin ...Italic Nerd Font Complete Windows Compatible.ttf | Bin ...que Sans Mono Bold Italic Nerd Font Complete.ttf | Bin ...d Nerd Font Complete Mono Windows Compatible.ttf | Bin ...asque Sans Mono Bold Nerd Font Complete Mono.ttf | Bin ...o Bold Nerd Font Complete Windows Compatible.ttf | Bin .../Fantasque Sans Mono Bold Nerd Font Complete.ttf | Bin ...c Nerd Font Complete Mono Windows Compatible.ttf | Bin ...que Sans Mono Italic Nerd Font Complete Mono.ttf | Bin ...Italic Nerd Font Complete Windows Compatible.ttf | Bin ...antasque Sans Mono Italic Nerd Font Complete.ttf | Bin ...r Nerd Font Complete Mono Windows Compatible.ttf | Bin ...ue Sans Mono Regular Nerd Font Complete Mono.ttf | Bin ...egular Nerd Font Complete Windows Compatible.ttf | Bin ...ntasque Sans Mono Regular Nerd Font Complete.ttf | Bin {public/assets => assets}/img/favicon.ico | Bin {public/css => css}/style.css | 0 {public/css => css}/styles.css | 0 {public/css => css}/styles.less | 0 public/index.html => index.html | 0 {public/js => js}/layout.js | 0 22 files changed, 0 insertions(+), 0 deletions(-) rename {public/assets => assets}/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono Windows Compatible.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Windows Compatible.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Bold Nerd Font Complete Mono Windows Compatible.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Bold Nerd Font Complete Mono.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Bold Nerd Font Complete Windows Compatible.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Bold Nerd Font Complete.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Italic Nerd Font Complete Mono Windows Compatible.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Italic Nerd Font Complete Mono.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Italic Nerd Font Complete Windows Compatible.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Italic Nerd Font Complete.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Regular Nerd Font Complete Mono Windows Compatible.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Regular Nerd Font Complete Mono.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Regular Nerd Font Complete Windows Compatible.ttf (100%) rename {public/assets => assets}/fonts/Fantasque Sans Mono Regular Nerd Font Complete.ttf (100%) rename {public/assets => assets}/img/favicon.ico (100%) rename {public/css => css}/style.css (100%) rename {public/css => css}/styles.css (100%) rename {public/css => css}/styles.less (100%) rename public/index.html => index.html (100%) rename {public/js => js}/layout.js (100%) diff --git a/public/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono Windows Compatible.ttf b/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono Windows Compatible.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono Windows Compatible.ttf rename to assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono Windows Compatible.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono.ttf b/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono.ttf rename to assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Mono.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Windows Compatible.ttf b/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Windows Compatible.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Windows Compatible.ttf rename to assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete Windows Compatible.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete.ttf b/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete.ttf rename to assets/fonts/Fantasque Sans Mono Bold Italic Nerd Font Complete.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Mono Windows Compatible.ttf b/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Mono Windows Compatible.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Mono Windows Compatible.ttf rename to assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Mono Windows Compatible.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Mono.ttf b/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Mono.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Mono.ttf rename to assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Mono.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Windows Compatible.ttf b/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Windows Compatible.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Windows Compatible.ttf rename to assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete Windows Compatible.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete.ttf b/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete.ttf rename to assets/fonts/Fantasque Sans Mono Bold Nerd Font Complete.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Mono Windows Compatible.ttf b/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Mono Windows Compatible.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Mono Windows Compatible.ttf rename to assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Mono Windows Compatible.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Mono.ttf b/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Mono.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Mono.ttf rename to assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Mono.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Windows Compatible.ttf b/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Windows Compatible.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Windows Compatible.ttf rename to assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete Windows Compatible.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete.ttf b/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete.ttf rename to assets/fonts/Fantasque Sans Mono Italic Nerd Font Complete.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Mono Windows Compatible.ttf b/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Mono Windows Compatible.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Mono Windows Compatible.ttf rename to assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Mono Windows Compatible.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Mono.ttf b/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Mono.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Mono.ttf rename to assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Mono.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Windows Compatible.ttf b/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Windows Compatible.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Windows Compatible.ttf rename to assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete Windows Compatible.ttf diff --git a/public/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete.ttf b/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete.ttf similarity index 100% rename from public/assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete.ttf rename to assets/fonts/Fantasque Sans Mono Regular Nerd Font Complete.ttf diff --git a/public/assets/img/favicon.ico b/assets/img/favicon.ico similarity index 100% rename from public/assets/img/favicon.ico rename to assets/img/favicon.ico diff --git a/public/css/style.css b/css/style.css similarity index 100% rename from public/css/style.css rename to css/style.css diff --git a/public/css/styles.css b/css/styles.css similarity index 100% rename from public/css/styles.css rename to css/styles.css diff --git a/public/css/styles.less b/css/styles.less similarity index 100% rename from public/css/styles.less rename to css/styles.less diff --git a/public/index.html b/index.html similarity index 100% rename from public/index.html rename to index.html diff --git a/public/js/layout.js b/js/layout.js similarity index 100% rename from public/js/layout.js rename to js/layout.js -- 2.45.2 From 46075c641bfd8480969a06f656d1c4642f01af3d Mon Sep 17 00:00:00 2001 From: Camille Frantz Date: Fri, 8 Nov 2024 12:48:46 -0600 Subject: [PATCH 2/4] setting up to rscync from local directory using .gitea/.excludes --- .gitea/.excludes | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .gitea/.excludes diff --git a/.gitea/.excludes b/.gitea/.excludes new file mode 100644 index 0000000..2eee520 --- /dev/null +++ b/.gitea/.excludes @@ -0,0 +1,7 @@ +archive/ +README.md +public/ +.gitea/ +.git/ +.DS_Store +FavouriteQuotes.json -- 2.45.2 From 81ef2089e05527d2f1b94b8c3a9c1b1b9d72b5a4 Mon Sep 17 00:00:00 2001 From: Camille Frantz Date: Fri, 8 Nov 2024 12:50:12 -0600 Subject: [PATCH 3/4] change workflow to also trigger on pull_request? --- .gitea/workflows/deploy.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 6706c04..0f05810 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -6,6 +6,7 @@ on: - .gitignore - README.md - LICENSE + pull_request: name: deploy updated site jobs: deploy: -- 2.45.2 From 78ae9187d5fd72d073229d6416a170b0673d5d71 Mon Sep 17 00:00:00 2001 From: Camille Frantz Date: Fri, 8 Nov 2024 12:51:23 -0600 Subject: [PATCH 4/4] forgot to alter the workflow to use cwd and .excludes instead of public/ --- .gitea/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 0f05810..a8a9a91 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -19,8 +19,8 @@ jobs: uses: easingthemes/ssh-deploy@v5.1.0 env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} - ARGS: '-avz --delete' - SOURCE: public/ + ARGS: '-avz --delete --exclude-from=.gitea/.excludes' + SOURCE: . REMOTE_HOST: ${{ secrets.REMOTE_HOST }} REMOTE_USER: ${{ secrets.REMOTE_USER }} TARGET: ${{ secrets.TARGET }} -- 2.45.2