Skip to content

Commit

Permalink
Merge pull request #19 from usegalaxy-eu/customize-mastodon
Browse files Browse the repository at this point in the history
Customized Mastodon & unused plugins disabled by default
  • Loading branch information
arash77 authored May 14, 2024
2 parents 90266b8 + 57ce750 commit 9dd1ca3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
BLUESKY_USERNAME: ${{ secrets.BLUESKY_USERNAME }}
BLUESKY_PASSWORD: ${{ secrets.BLUESKY_PASSWORD }}
MASTODON_EU_FR_TOKEN: ${{ secrets.MASTODON_EU_FR_TOKEN }}
MATRIX_ACCESS_TOKEN: ${{ secrets.MATRIX_ACCESS_TOKEN }}
SLACK_ACCESS_TOKEN: ${{ secrets.SLACK_ACCESS_TOKEN }}
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
Expand Down
14 changes: 11 additions & 3 deletions plugins.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,29 @@
plugins:
- name: mastodon
class: mastodon.mastodon_client
enabled: true
enabled: false
config:
base_url: "https://mstdn.science"
access_token: $MASTODON_ACCESS_TOKEN
max_content_length: 500

- name: bluesky
class: bluesky.bluesky_client
enabled: true
enabled: false
config:
base_url: "https://bsky.social"
username: $BLUESKY_USERNAME
password: $BLUESKY_PASSWORD
max_content_length: 300

- name: mastodon-eu-freiburg
class: mastodon.mastodon_client
enabled: true
config:
base_url: "https://xn--baw-joa.social"
access_token: $MASTODON_EU_FR_TOKEN
max_content_length: 500

- name: matrix-eu-announce
class: matrix.matrix_client
enabled: true
Expand All @@ -26,7 +34,7 @@ plugins:

- name: slack
class: slack.slack_client
enabled: true
enabled: false
config:
access_token: $SLACK_ACCESS_TOKEN
channel_id: $SLACK_CHANNEL_ID
Expand Down

0 comments on commit 9dd1ca3

Please sign in to comment.