Skip to content

Commit

Permalink
Merge pull request #60 from happyprime/fix/add-deploy-include
Browse files Browse the repository at this point in the history
Add a `.deploy_include` configuration
jeremyfelt authored Jan 26, 2024
2 parents f38974a + b141407 commit 5a94c42
Showing 3 changed files with 17 additions and 14 deletions.
27 changes: 14 additions & 13 deletions .deploy_ignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
.git/
.github/
node_modules/
/vendor/
.deploy_ignore
.deploy_include
.gitignore
.nvmrc
.postcssrc.js
.stylelintrc
composer.json
composer.lock
package.json
package-lock.json
phpcs.xml
postcss.config.js
phpcs.xml.dist
README.md
uploads/
upgrade/
backstop_data/
mu-plugins/kinsta-mu-plugins.php
mu-plugins/kinsta-mu-plugins/
/plugins/
/themes/chaplin/
/.git/
/.github/
/backstop_data/
/mu-plugins/kinsta-mu-plugins.php
/mu-plugins/kinsta-mu-plugins/
/node_modules/
/plugins/*/
/themes/*/
/themes/*/node_modules/
/upgrade/
/uploads/
2 changes: 2 additions & 0 deletions .deploy_include
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/mu-plugins
/themes/happyprime
2 changes: 1 addition & 1 deletion .github/workflows/deploy-trunk.yml
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ jobs:
uses: easingthemes/ssh-deploy@v4
env:
SSH_PRIVATE_KEY: ${{ secrets.KINSTA_SSH_KEY }}
ARGS: "-rltgoDzvO --exclude-from=.deploy_ignore --delete"
ARGS: "-rltgoDzvO --include-from=.deploy_include --exclude-from=.deploy_ignore --delete"
SOURCE: "./"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}

0 comments on commit 5a94c42

Please sign in to comment.