https://github.com/millsoft/github-to-autoremote
Github Webhook pusher to AutoRemote
https://github.com/millsoft/github-to-autoremote
Last synced: about 2 months ago
JSON representation
Github Webhook pusher to AutoRemote
- Host: GitHub
- URL: https://github.com/millsoft/github-to-autoremote
- Owner: millsoft
- Created: 2020-01-11T13:39:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-11T13:40:38.000Z (over 6 years ago)
- Last Synced: 2025-11-28T07:16:45.964Z (7 months ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitHub to Autoremote
This is a simple webhook that receives GitHub pushes and sending them to AutoRemote.
## Usage
- create a new `.env` file and enter there your AutoRemote API key (see `.env.example` for example)
- upload this project somewhere so GitHub can access it. (I tested it with php 7.3)
- install all libraries by executing `composer install`
- create a webhook in GitHub for the push event in one or multiple of your projects:
- Payload URL = point to the index.php
- Content Type os `application/json`
- Secret = empty
- Which event? = Just the push event
## Test if AutoRemote is working
Open the page `index.php?__hook=test`. It should send you a small test message.
## About
Project by MilMike 2020.