This commit is contained in:
Camille Frantz 2024-11-08 13:02:08 -06:00
commit d001041c62
Signed by: fyrfli
SSH Key Fingerprint: SHA256:cyNGncrLxKXAgYC96dYNROnQKikLInzrpiMraZdqyhY
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