diff --git a/.deploy_ignore b/.deploy_ignore index 8b26360..09e480c 100644 --- a/.deploy_ignore +++ b/.deploy_ignore @@ -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/ diff --git a/.deploy_include b/.deploy_include new file mode 100644 index 0000000..ee057d8 --- /dev/null +++ b/.deploy_include @@ -0,0 +1,2 @@ +/mu-plugins +/themes/happyprime diff --git a/.github/workflows/deploy-trunk.yml b/.github/workflows/deploy-trunk.yml index 2c75d5e..fe0e35c 100644 --- a/.github/workflows/deploy-trunk.yml +++ b/.github/workflows/deploy-trunk.yml @@ -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 }}