mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06:00
2d185e1919
* Compile Winutil * Only run Sponsor Cron on Main Repo * Remove winutil from pR --------- Co-authored-by: Marterich <Marterich@users.noreply.github.com>
26 lines
700 B
YAML
26 lines
700 B
YAML
name: Generate Sponsors README
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: 30 15 * * 0-6
|
|
permissions:
|
|
contents: write
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
if: (github.event_name == 'schedule' && github.repository == 'ChrisTitusTech/winutil') || (github.event_name != 'schedule')
|
|
steps:
|
|
- name: Checkout 🛎️
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Generate Sponsors 💖
|
|
uses: JamesIves/github-sponsors-readme-action@v1
|
|
with:
|
|
token: ${{ secrets.PAT }}
|
|
file: 'README.md'
|
|
|
|
- name: Deploy to GitHub Pages 🚀
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
|
with:
|
|
branch: main
|
|
folder: '.' |