Skip to content

Commit

Permalink
Added credentials to excluded
Browse files Browse the repository at this point in the history
  • Loading branch information
ThistleFIN committed Dec 23, 2024
1 parent b77de8a commit 7e43695
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Install Composer Dependencies
run: composer install --no-dev --optimize-autoloader

- name: Deploy
uses: easingthemes/[email protected]
env:
Expand All @@ -31,6 +31,6 @@ jobs:
REMOTE_USER: ${{ secrets.DEPLOYUSER_USER }}
REMOTE_PORT: ${{ secrets.DEPLOYUSER_PORT }}
TARGET: "/srv/www/www.asteriski.fi/wp-content/plugins/wp-asteriski-calendar/"
EXCLUDE: "/.git/"
EXCLUDE: "/.git/,/credentials/*"
with:
args: "-avz --delete --chmod=ug=rwx,o=rx --chown=github-deploy:www-data --progress"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ credentials/*
!credentials/.gitkeep

composer.lock
.idea/

0 comments on commit 7e43695

Please sign in to comment.