Skip to content

Commit

Permalink
[FIX] change resync action
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolakovics committed Oct 18, 2024
1 parent 1781cc6 commit 011f08a
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions .github/workflows/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,27 @@ jobs:
rm shell.nix
rm -rf nixfiles
- name: Deploy
uses: up9cloud/action-rsync@master
env:
HOST: webhost.epicenter.works
KEY: ${{secrets.SSH_KEY}}
TARGET: /home/stage.spenden.epicenter.works/public_html/

VERBOSE: true
USER: stage.spenden.epicenter.works
ARGS: -a --exclude=/.git/ --exclude=/.github/ --exclude=/.env --delete --no-perms --no-owner --no-group
SOURCE: ./
- name: Deploy with rsync
uses: burnett01/[email protected]
with:
switches: -a --exclude=/.git/ --exclude=/.github/ --exclude=/.env --delete --no-perms --no-owner --no-group
path: ./
remote_path: /home/stage.spenden.epicenter.works/public_html/
remote_host: webhost.epicenter.works
remote_user: stage.spenden.epicenter.works
remote_key: ${{secrets.SSH_KEY}}

# - name: Deploy
# uses: up9cloud/action-rsync@master
# env:
# HOST: webhost.epicenter.works
# KEY: ${{secrets.SSH_KEY}}
# TARGET: /home/stage.spenden.epicenter.works/public_html/
#
# VERBOSE: true
# USER: stage.spenden.epicenter.works
# ARGS: -a --exclude=/.git/ --exclude=/.github/ --exclude=/.env --delete --no-perms --no-owner --no-group
# SOURCE: ./

# Deployment job
deploy-production:
Expand Down

0 comments on commit 011f08a

Please sign in to comment.