Verified Commit 3e6e3631 authored by Luc Didry's avatar Luc Didry
Browse files

First version

This diff is collapsed.
# Pouet it from CI
This software is used for automatically tooting from Gitlab CI when creating a new tag.
## How to use?
TODO: add instructions
## License
GPLv3, see the [LICENSE](LICENSE) file for details.
## Logo
The logo is the [mascot of Mastodon](
## Author
[Luc Didry]( You can support me on [Tipeee]( and [Liberapay](
[![Tipeee button](]( [![Liberapay logo](](
requires 'Mastodon::Client';
This diff is collapsed.
use strict;
use warnings;
use 5.10.0;
use Mastodon::Client;
die 'No host defined. Aborting' unless $ENV{HOST};
die 'No message. Aborting.' unless $ENV{MESSAGE};
my $client = Mastodon::Client->new(
instance => $ENV{HOST},
name => 'Pouet it from CI',
website => '',
scopes => ['write'],
client_id => $ENV{CLIENT_ID},
client_secret => $ENV{CLIENT_SECRET},
access_token => $ENV{ACCESS_TOKEN},
coerce_entities => 0
say 'Posting status';
say 'All has been well. Message tooted.';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment