diff --git a/.github/workflows/trigger-packagist-update.yml b/.github/workflows/trigger-packagist-update.yml new file mode 100644 index 0000000..e31fa34 --- /dev/null +++ b/.github/workflows/trigger-packagist-update.yml @@ -0,0 +1,20 @@ +name: Trigger Packagist Rebuild + +on: + release: + types: [published] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - env: + GIT_EMAIL: mcatech@ucf.edu + 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"}}' diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..ac79f15 --- /dev/null +++ b/composer.json @@ -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" + } +} diff --git a/style.css b/style.css index 1dbad92..5792183 100644 --- a/style.css +++ b/style.css @@ -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 */ /*