mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
8cb2e21c07
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
name: publish-sponsors
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: 30 15 * * 0-6
|
|
|
|
jobs:
|
|
generate-sponsors:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout 🛎️
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Generate Sponsors 💖
|
|
uses: JamesIves/github-sponsors-readme-action@v1.0.8
|
|
with:
|
|
token: ${{ secrets.PAT }}
|
|
file: 'README.md'
|
|
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="50px" alt="{{{ login }}}" /></a> '
|
|
maximum: 9999
|
|
|
|
- name: Generate Sponsors 💖
|
|
uses: JamesIves/github-sponsors-readme-action@v1.0.8
|
|
with:
|
|
token: ${{ secrets.PAT }}
|
|
file: 'README.md'
|
|
minimum: 10000
|
|
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="80px" alt="{{{ login }}}" /></a> '
|
|
marker: 'premium'
|
|
|
|
- name: Deploy to GitHub Pages
|
|
uses: JamesIves/github-pages-deploy-action@v4.2.5
|
|
with:
|
|
branch: dev
|
|
folder: '.'
|