-
Notifications
You must be signed in to change notification settings - Fork 6
55 lines (41 loc) · 3.18 KB
/
monkeytype-readme.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: generate monkeytype readme svg
on:
schedule:
- cron: "0 */24 * * *"
workflow_dispatch:
jobs:
download-svg:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "16.x"
- name: Download SVG
run: |
mkdir monkeytype-readme-svg
curl -o monkeytype-readme-svg/monkeytype-readme.svg https://monkeytype-readme.zeabur.app/generate-svg/rocket/botanical
curl -o monkeytype-readme-svg/monkeytype-readme-lb.svg https://monkeytype-readme.zeabur.app/generate-svg/rocket/botanical?lb=true
curl -o monkeytype-readme-svg/monkeytype-readme-pb.svg https://monkeytype-readme.zeabur.app/generate-svg/rocket/botanical?pb=true
curl -o monkeytype-readme-svg/monkeytype-readme-lb-pb.svg https://monkeytype-readme.zeabur.app/generate-svg/rocket/botanical?lbpb=true
curl -o monkeytype-readme-svg/monkeytype-readme-Miodec.svg https://monkeytype-readme.zeabur.app/generate-svg/Miodec/nord_light
curl -o monkeytype-readme-svg/monkeytype-readme-Miodec-lb.svg https://monkeytype-readme.zeabur.app/generate-svg/Miodec/nord_light?lb=true
curl -o monkeytype-readme-svg/monkeytype-readme-Miodec-pb.svg https://monkeytype-readme.zeabur.app/generate-svg/Miodec/nord_light?pb=true
curl -o monkeytype-readme-svg/monkeytype-readme-Miodec-lb-pb.svg https://monkeytype-readme.zeabur.app/generate-svg/Miodec/nord_light?lbpb=true
curl -o monkeytype-readme-svg/monkeytype-readme-rocket-slambook-lb-pb.svg https://monkeytype-readme.zeabur.app/generate-svg/rocket/slambook?lbpb=true
curl -o monkeytype-readme-svg/monkeytype-readme-UTF8.svg https://monkeytype-readme.zeabur.app/generate-svg/UTF8/camping
curl -o monkeytype-readme-svg/monkeytype-readme-ridemountainpig.svg https://monkeytype-readme.zeabur.app/generate-svg/ridemountainpig/witch_girl
curl -o monkeytype-readme-svg/monkeytype-readme-semi.svg https://monkeytype-readme.zeabur.app/generate-svg/semi/blueberry_light
curl -o monkeytype-readme-svg/monkeytype-readme-mac-lb.svg https://monkeytype-readme.zeabur.app/generate-svg/mac/mizu?lb=true
curl -o monkeytype-readme-svg/monkeytype-readme-ze_or.svg https://monkeytype-readme.zeabur.app/generate-svg/ze_or/darling
curl -o monkeytype-readme-svg/monkeytype-readme-nask-lb.svg https://monkeytype-readme.zeabur.app/generate-svg/nask/beach?lb=true
curl -o monkeytype-readme-svg/monkeytype-readme-davidho0403-pb.svg https://monkeytype-readme.zeabur.app/generate-svg/davidho0403/lil_dragon?pb=true
- name: push monkeytype-readme.svg to the monkeytype-readme branch
uses: crazy-max/[email protected]
with:
target_branch: monkeytype-readme
build_dir: monkeytype-readme-svg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}