Skip to content

Commit

Permalink
using .distignore (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtio authored Dec 12, 2024
1 parent ce1a2ef commit 85c78d5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 16 deletions.
10 changes: 10 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/.wordpress-org
/.git
/.github

.editorconfig
.distignore
.gitignore
composer.json
composer.lock
.phpcs.xml
11 changes: 0 additions & 11 deletions .gitattributes

This file was deleted.

6 changes: 1 addition & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ jobs:
# 10up/action-wordpress-plugin-deploy is not adding the vendor folder due to .gitignore so we need to add it manually
# also uses their user to commit the vendor folder
# https://github.com/10up/action-wordpress-plugin-deploy/blob/408b966c84f07de4f648a0fd04f103ba72b18590/deploy.sh#L113
run: |
composer install --no-dev --optimize-autoloader
git config --global user.email "[email protected]"
git config --global user.name "10upbot on GitHub"
git add -f vendor && git commit -m "Add vendor folder"
run: composer install --no-dev --optimize-autoloader
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
with:
Expand Down

0 comments on commit 85c78d5

Please sign in to comment.