Merge pull request 'rm-public' (#2) from rm-public into main
All checks were successful
deploy updated site / rsync the directories (push) Successful in 24s

Reviewed-on: #2
This commit is contained in:
Camille Frantz 2024-11-08 12:55:38 -06:00
commit 2e2fbc6e68
24 changed files with 10 additions and 2 deletions

7
.gitea/.excludes Normal file
View File

@ -0,0 +1,7 @@
archive/
README.md
public/
.gitea/
.git/
.DS_Store
FavouriteQuotes.json

View File

@ -6,6 +6,7 @@ on:
- .gitignore
- README.md
- LICENSE
pull_request:
name: deploy updated site
jobs:
deploy:
@ -18,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 }}

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB