|
@@ -1,23 +1,26 @@
|
1
|
|
-name: Generate Sponsors README
|
|
1
|
+name: publish-sponsors
|
2
|
2
|
on:
|
3
|
3
|
schedule:
|
4
|
4
|
- cron: 30 15 * * 0-6
|
5
|
|
-
|
|
5
|
+
|
6
|
6
|
jobs:
|
7
|
|
- deploy:
|
|
7
|
+ generate-sponsors:
|
8
|
8
|
runs-on: ubuntu-latest
|
9
|
9
|
steps:
|
10
|
10
|
- name: Checkout 🛎️
|
11
|
11
|
uses: actions/checkout@v2
|
|
12
|
+
|
12
|
13
|
- name: Generate Sponsors 💖
|
13
|
|
- uses: JamesIves/github-sponsors-readme-action@1.0.5
|
|
14
|
+ uses: JamesIves/github-sponsors-readme-action@releases/v1
|
14
|
15
|
with:
|
15
|
16
|
token: ${{ secrets.PAT }}
|
16
|
|
- file: 'README.md'
|
17
|
17
|
marker: 'real-sponsors'
|
18
|
|
- template: '<a href="https://github.com/sponsors/steveruizok"><img src="https://github.com/{{{ login }}}.png" width="32px" alt="" /></a>'
|
19
|
|
- - name: Deploy to GitHub Pages 🚀
|
|
18
|
+ file: 'README.md'
|
|
19
|
+ template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="40px" alt="" /></a>'
|
|
20
|
+ minimum: 500
|
|
21
|
+
|
|
22
|
+ - name: Deploy to GitHub Pages
|
20
|
23
|
uses: JamesIves/github-pages-deploy-action@4.1.1
|
21
|
24
|
with:
|
22
|
|
- branch: main
|
|
25
|
+ branch: dev
|
23
|
26
|
folder: '.'
|