Skip to content

Commit

Permalink
Added composer file, packagist update and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbarne3 committed May 30, 2023
1 parent 3e07ce3 commit 0c8e690
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/trigger-packagist-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Trigger Packagist Rebuild

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- env:
GIT_EMAIL: [email protected]
GIT_NAME: mcatech
run: |
curl -XPOST \
-H "Authorization: Bearer ${{ secrets.PACKAGIST_REPO_PAT }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
https://api.github.com/repos/UCF/ucf-packagist/actions/workflows/partial-composer-build.yml/dispatches \
--data '{"ref": "main", "inputs": {"package": "ucf/ucf-wordpress-theme"}}'
8 changes: 8 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "ucf/colleges-theme",
"description": "A responsive WordPress theme for UCF's college websites, built off of the Athena Framework.",
"type": "wordpress-theme",
"require": {
"composer/installers": "~1.0"
}
}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Theme Name: Colleges Theme
Author: UCF Web Communications
Github Theme URI: https://github.com/UCF/Colleges-Theme
Version: v1.2.0
Version: v1.3.0
*/

/*
Expand Down

0 comments on commit 0c8e690

Please sign in to comment.