This commit is contained in:
@@ -2,7 +2,7 @@ name: Deploy static site
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@@ -41,6 +41,6 @@ jobs:
|
||||
- name: Deploy via rsync
|
||||
run: |
|
||||
rsync -avz --delete \
|
||||
-e "ssh -i ~/.ssh/id_ed25519 -p ${{ secrets.DEPLOY_PORT }}" \
|
||||
index.html styles.css robots.txt de/ en/ \
|
||||
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_PATH }}
|
||||
-e "ssh -i ~/.ssh/id_ed25519 -p ${{ secrets.DEPLOY_PORT }} \
|
||||
public/ \
|
||||
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_PATH }}
|
||||
|
||||
Reference in New Issue
Block a user