rm-public #2
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
|
- .gitignore
|
||||||
- README.md
|
- README.md
|
||||||
- LICENSE
|
- LICENSE
|
||||||
|
pull_request:
|
||||||
name: deploy updated site
|
name: deploy updated site
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
@ -18,8 +19,8 @@ jobs:
|
|||||||
uses: easingthemes/ssh-deploy@v5.1.0
|
uses: easingthemes/ssh-deploy@v5.1.0
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
ARGS: '-avz --delete'
|
ARGS: '-avz --delete --exclude-from=.gitea/.excludes'
|
||||||
SOURCE: public/
|
SOURCE: .
|
||||||
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
|
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
|
||||||
REMOTE_USER: ${{ secrets.REMOTE_USER }}
|
REMOTE_USER: ${{ secrets.REMOTE_USER }}
|
||||||
TARGET: ${{ secrets.TARGET }}
|
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