Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

wabarc/distributor

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

distributor

Read this in other languages: English | 简体中文

GitHub Actions for automated distribute archived webpages.

Workflow

Configurations

DISTRIBUTE_TOKEN (required)

GitHub account authentication token for storing webpages.

DISTRIBUTE_OWNER (default: current user)

GitHub account username for storing webpages.

DISTRIBUTE_REPO (default: current repository)

GitHub repository name for storing webpages.

DISTRIBUTE_CHANNEL (required)

Webpages soruce, telegram channel name.

DISTRIBUTE_LIMIT (optional)

Limit the number of messages to fetching at one time.

DISTRIBUTE_CMD (default: github)

Example

Using current GitHub account to storing data, it require add all the required configs to Secrets.

- uses: wabarc/distributor@main
 env:
 DISTRIBUTE_TOKEN: ${{ secrets.DISTRIBUTE_TOKEN }}
 DISTRIBUTE_OWNER: ${{ secrets.DISTRIBUTE_OWNER }}
 DISTRIBUTE_REPO: ${{ secrets.DISTRIBUTE_REPO }}
 DISTRIBUTE_CHANNEL: ${{ secrets.DISTRIBUTE_CHANNEL }}

Using current GitHub account to storing data, it only require add DISTRIBUTE_CHANNEL to Secrets.

- uses: wabarc/distributor@main
 env:
 DISTRIBUTE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 DISTRIBUTE_CHANNEL: ${{ secrets.DISTRIBUTE_CHANNEL }}

For more details, see wabarc/broker.

License

This software is released under the terms of the MIT. See the LICENSE file for details.

AltStyle によって変換されたページ (->オリジナル) /