-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add workflow to deploy WPGraphQL Smart Cache to the WordPress.org repo
- add .gitattributes and .distignore files to ignore files from being deployed
- Loading branch information
Showing
3 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.github export-ignore | ||
.git export-ignore | ||
.log export-ignore | ||
.coveralls export-ignore | ||
.dockerignore export-ignore | ||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
/bin export-ignore | ||
/plugin-build export-ignore | ||
/docs export-ignore | ||
/img export-ignore | ||
/phpstan export-ignore | ||
/tests export-ignore | ||
/docker export-ignore | ||
/docs export-ignore | ||
/phpcs.xml export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/codeception.dist.yml export-ignore | ||
.coveralls.yml export-ignore | ||
.dockerignore export-ignore | ||
.env export-ignore | ||
.env.dist export-ignore | ||
.gitattributes export-ignore | ||
.github_changelog_generator export-ignore | ||
/c3.php export-ignore | ||
/docker-compose.yml export-ignore | ||
/netlify.toml export-ignore | ||
/node_modules export-ignore | ||
/phpstan export-ignore | ||
/phpstan.neon.dist export-ignore | ||
/schema.graphql export-ignore | ||
/node_modules export-ignore | ||
/artifacts export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Deploy to WordPress.org | ||
on: | ||
release: | ||
types: [ published ] | ||
jobs: | ||
tag: | ||
name: New release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 7.4 | ||
extensions: mbstring, intl | ||
tools: composer | ||
- name: Install PHP dependencies | ||
run: | | ||
composer install --no-dev --optimize-autoloader | ||
- name: WordPress Plugin Deploy | ||
uses: 10up/action-wordpress-plugin-deploy@stable | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | ||
SVN_USERNAME: ${{ secrets.SVN_USERNAME }} | ||
SLUG: wp-graphql-smart-cache |