Implements 10up's Github Action to automatically push new tags to the WordPress.org SVN repo.
The .distignore removes anything not necessary for development, or stuff that doesn't make sense (like Markdown files) from SVN. It runs npm run build to build the assets before committing. It also moves WordPress.org-specific assets to the .wordpress-org directory which the deploy action will put into an assets folder in SVN.
Implements 10up's Github Action to automatically push new tags to the WordPress.org SVN repo.
The
.distignore
removes anything not necessary for development, or stuff that doesn't make sense (like Markdown files) from SVN. It runsnpm run build
to build the assets before committing. It also moves WordPress.org-specific assets to the.wordpress-org
directory which the deploy action will put into an assets folder in SVN.