Skip to content

Commit

Permalink
Merge pull request #36 from jeremyfelt/fix/stop-composer-plugins
Browse files Browse the repository at this point in the history
Don't deploy plugins via Composer
  • Loading branch information
jeremyfelt authored Nov 27, 2022
2 parents 3ccf4da + 855a782 commit 0ce5fc1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 97 deletions.
1 change: 1 addition & 0 deletions .deploy_ignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ composer.json
composer.lock
README.md
images/
plugins/
slides/
sub-site/
themes/
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/deploy-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,6 @@ jobs:
- name: Checkout project
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
coverage: none
tools: composer, cs2pr

- name: Get Composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Setup cache
uses: pat-s/[email protected]
with:
path: ${{ steps.composer-cache.outputs.dir }}
# Use the hash of composer.json as the key for your cache if you do not commit composer.lock.
# key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer install --prefer-dist --no-suggest --no-progress

- name: Deploy to server
if: success()
uses: easingthemes/[email protected]
Expand Down
74 changes: 0 additions & 74 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,80 +2,6 @@
"name": "jeremyfelt/jeremyfelt.com",
"type": "project",
"minimum-stability": "stable",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "package",
"package": {
"name": "happyprime/shadow-terms",
"version": "1.0.1",
"type": "wordpress-plugin",
"source": {
"url": "https://github.com/happyprime/shadow-terms.git",
"type": "git",
"reference": "trunk"
}
}
},
{
"type": "package",
"package": {
"name": "happyprime/content-aggregator-block",
"version": "1.0.1",
"type": "wordpress-plugin",
"source": {
"url": "https://github.com/happyprime/content-aggregator-block.git",
"type": "git",
"reference": "release"
}
}
},
{
"type": "package",
"package": {
"name": "jeremyfelt/dangit-capital-p",
"version": "1.0.0",
"type": "wordpress-plugin",
"source": {
"url": "https://github.com/jeremyfelt/dangit-capital-p.git",
"type": "git",
"reference": "develop"
}
}
}
],
"extra": {
"installer-paths": {
"plugins/{$name}/": [
"type:wordpress-plugin"
]
}
},
"require": {
"happyprime/content-aggregator-block": "1.0.1",
"wpackagist-plugin/content-visibility": "^0.2.7",
"wpackagist-plugin/content-visibility-rss-feed": "^0.1.2",
"wpackagist-plugin/custom-posts-per-page": "^1.7",
"jeremyfelt/dangit-capital-p": "^1.0",
"wpackagist-plugin/gutenberg": "14.2.0",
"wpackagist-plugin/indieauth": "^4.2",
"wpackagist-plugin/indieweb": "^3.4",
"wpackagist-plugin/local-wordpress-plugin-repo": "^0.9.0",
"wpackagist-plugin/micropub": "^2.3",
"wpackagist-plugin/public-post-preview": "^2.9",
"wpackagist-plugin/query-monitor": "^3.9",
"wpackagist-plugin/safe-redirect-manager": "^1.10",
"wpackagist-plugin/self-sustaining-spam-stopper": "^1.1",
"wpackagist-plugin/semantic-linkbacks": "^3.0",
"happyprime/shadow-terms": "1.0.1",
"wpackagist-plugin/shortnotes": "^1.3",
"wpackagist-plugin/syntax-highlighting-code-block": "^1.3",
"wpackagist-plugin/webmention": "^4.0",
"wpackagist-plugin/share-on-mastodon": "^0.6.4"
},
"require-dev": {
"wp-coding-standards/wpcs": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
Expand Down

0 comments on commit 0ce5fc1

Please sign in to comment.