Skip to content

Commit

Permalink
fixup! fixup! Exclude hidden files
Browse files Browse the repository at this point in the history
  • Loading branch information
fauust committed Aug 10, 2023
1 parent 25a3651 commit b146822
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
echo "${{ secrets.SSH_PRIVATE_KEY }}" >~/.ssh/id_ed25519
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >~/.ssh/known_hosts
ssh -p ${{ secrets.SERVER_PORT }} ${{ secrets.USER }}@${{ secrets.SERVER_IP }} "docker-compose -f /srv/dev/docker-compose/docker-compose.yaml down"
rsync -a --progress --exclude-from=rsync.exclude -e "ssh -p ${{ secrets.SERVER_PORT }}" ./ ${{ secrets.USER }}@${{ secrets.SERVER_IP }}:/srv/dev/
rsync -a --progress --exclude-from=rsync.exclude --exclude=".*" -e "ssh -p ${{ secrets.SERVER_PORT }}" ./ ${{ secrets.USER }}@${{ secrets.SERVER_IP }}:/srv/dev/
ssh -p ${{ secrets.SERVER_PORT }} ${{ secrets.USER }}@${{ secrets.SERVER_IP }} "cd /srv/dev/docker-compose/ && ./generate-config.py && docker-compose -f /srv/dev/docker-compose/docker-compose.yaml up -d"
rm ~/.ssh/id_ed25519
1 change: 0 additions & 1 deletion rsync.exclude
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.[a-z]*
ci_build_images
docker-compose/logs
docker-compose/mariadb
Expand Down

0 comments on commit b146822

Please sign in to comment.