Compare commits

...

5 Commits

Author SHA1 Message Date
2e2fbc6e68 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
2024-11-08 12:55:38 -06:00
78ae9187d5
forgot to alter the workflow to use cwd and .excludes instead of public/
All checks were successful
deploy updated site / rsync the directories (pull_request) Successful in 42s
2024-11-08 12:51:23 -06:00
81ef2089e0
change workflow to also trigger on pull_request? 2024-11-08 12:50:12 -06:00
46075c641b
setting up to rscync from local directory using .gitea/.excludes 2024-11-08 12:48:46 -06:00
18a74e3b0b
moving public/* to . 2024-11-08 12:42:30 -06:00
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