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

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

GitHub Action for automated distribute archived webpages.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages