-
-
Notifications
You must be signed in to change notification settings - Fork 1
63 lines (54 loc) · 1.62 KB
/
render_readme.yaml
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
56
57
58
59
60
61
62
63
name: Render README
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: readme-${{ github.ref }}
cancel-in-progress: true
jobs:
render:
name: Render README
runs-on: ubuntu-latest
container:
image: ghcr.io/insightsengineering/rstudio_4.2.1_bioc_3.15:latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Render README
run: |
install.packages("magick", quiet = TRUE)
rmarkdown::render("README.Rmd")
shell: Rscript {0}
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "[skip actions] Render README.md"
file_pattern: README.md thumbs/*.png hexwall.png docs/*
commit_user_name: insights-engineering-bot
commit_user_email: >-
icons:
name: Generate Icons
runs-on: ubuntu-latest
if: ${{ always() }}
needs: render
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Ensure icon directory exists
run: |
mkdir -p ICO
- name: Run script to update icons
run: |
cd scripts
bash png-to-ico.bash
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "[skip actions] Update ICO folder"
file_pattern: ICO/*.ico
commit_user_name: insights-engineering-bot
commit_user_email: >-