forked from wielebenwir/commonsbooking
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ft-wp-env
# Conflicts: # Readme.md # composer.json # composer.lock
- Loading branch information
Showing
123 changed files
with
12,237 additions
and
1,770 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/.github | ||
/.saas-cache | ||
/bin | ||
/tests | ||
/.git | ||
/.saas-cache | ||
.distignore | ||
.editorconfig | ||
.phpcs.xml.dist | ||
.gitignore | ||
codecov.yml | ||
commonsbooking.zip | ||
composer.json | ||
composer.lock | ||
copy-svn.sh | ||
gruntfile.js | ||
package.json | ||
package-lock.json | ||
phpunit.xml.dist | ||
zipdist.sh | ||
README.md | ||
|
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,57 @@ | ||
name: Deploy to WordPress.org | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
|
||
jobs: | ||
deploy: | ||
name: New tag | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: '7.4' | ||
|
||
- uses: actions/checkout@master | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0.6' # Not needed with a .ruby-version file | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
- run: gem install compass | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 12 | ||
|
||
|
||
- name: Validate composer.json and composer.lock | ||
run: composer validate | ||
|
||
|
||
- name: Compile with Grunt | ||
uses: elstudio/actions-js-build/build@v4 | ||
with: | ||
args: build | ||
|
||
- name: Commit changes | ||
uses: elstudio/actions-js-build/commit@v4 | ||
with: | ||
commitMessage: Ran grunt | ||
|
||
- name: Build # Remove or modify this step as needed | ||
run: | | ||
npm ci --production --legacy-peer-deps | ||
php -v | ||
composer install --ignore-platform-req=php --no-dev | ||
- name: WordPress Plugin Deploy | ||
uses: 10up/action-wordpress-plugin-deploy@stable | ||
with: | ||
dry-run: false | ||
env: | ||
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | ||
SVN_USERNAME: ${{ secrets.SVN_USERNAME }} | ||
SLUG: commonsbooking # optional, remove if GitHub repo name matches SVN slug, including capitalization |
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.