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
All checks were successful
deploy updated site / rsync the directories (push) Successful in 24s
Reviewed-on: #2
This commit is contained in:
commit
2e2fbc6e68
7
.gitea/.excludes
Normal file
7
.gitea/.excludes
Normal file
@ -0,0 +1,7 @@
|
||||
archive/
|
||||
README.md
|
||||
public/
|
||||
.gitea/
|
||||
.git/
|
||||
.DS_Store
|
||||
FavouriteQuotes.json
|
@ -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 }}
|
||||
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Loading…
Reference in New Issue
Block a user