2017 © Pedro Peláez
 

project typo3-ter-webhook

A GitHub Webhook to automatically upload to the TYPO3 Extension Repository.

image

sethorax/typo3-ter-webhook

A GitHub Webhook to automatically upload to the TYPO3 Extension Repository.

  • Monday, May 22, 2017
  • by Sethorax
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Typo3 TER Github Webhook

This is a simple GitHub Webhook Listener that automatically uploads a TYPO3 extension to the TER.
The extension is only uploaded to the TER if a tag has been associated with the push., (*1)

Build Status StyleCI Latest Stable Version, (*2)

Installation

To get started, simply run the following command:, (*3)

composer create-project sethorax/typo3-ter-webhook, (*4)

Or you can clone this repo and run composer install manually., (*5)

Once the project is created you need to create a config.yml file in the project root to configure the project., (*6)

The file should look something like this:, (*7)

authorization:
    github:
        secret: GitHubWebhookSecret
    typo3:
        username: Typo3OrgUser
        password: MySuperSecretPassword

notification:
    slack:
        webhook-url: https://hooks.slack.com/services/XXX/XXX/XXX

The example above should be pretty self explanatory.
Just specify your GitHub Webhook Secret, your typo3.org username and password.
You can also specify a slack webhook url if you want to receive notifications on slack., (*8)

Once that is done you need to configure the Webhook for your GitHub repository.
To do that simply go to the settings of the repository and navigate to Webhooks. Add a new Webhook there and paste the URL of your server into the Payload URL field. Provide the secret key that you entered in config.yml. The rest can stay as is it is.
Click on Add webhook and you are done., (*9)

Now everytime you add a new tag to your repository the webhook will clone the repo, zip it and upload it to the TER. Don't forget to update the version number in ext_emconf.php otherwise the extension will not be uploaded!, (*10)

The Versions

22/05 2017

dev-master

9999999-dev

A GitHub Webhook to automatically upload to the TYPO3 Extension Repository.

  Sources   Download

The Requires

 

The Development Requires

by Avatar Sethorax

11/05 2017

0.9.0

0.9.0.0

A GitHub Webhook to automatically upload to the TYPO3 Extension Repository.

  Sources   Download

The Requires

 

The Development Requires

by Avatar Sethorax