Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customized Mastodon & unused plugins disabled by default #19

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading