File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed
Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update Docker Hub Description
2+ on :
3+ push :
4+ branches :
5+ - main
6+ paths :
7+ - versions.md
8+ - README.md
9+ - docs/**/*
10+
11+ workflow_dispatch :
12+
13+ jobs :
14+ strategy :
15+ matrix :
16+ image :
17+ - minimal
18+ - core
19+ - latex
20+ - extra
21+ - typst
22+
23+ updateDescriptions :
24+ runs-on : ubuntu-latest
25+ steps :
26+ - uses : actions/checkout@v4
27+
28+ - name : Short description
29+ id : config
30+ run : |
31+ printf 'short_description=%s\n' \
32+ "$(pandoc lua docs/scripts/short-description.lua \
33+ ${{ matrix.image }})"
34+
35+ - name : Generate README files
36+ run : |
37+ make docs-${{ matrix.image }} > /tmp/README.${{ matrix.image }}.md
38+
39+ - name : minimal
40+ uses : peter-evans/dockerhub-description
41+ with :
42+ username : ${{ secrets.DOCKER_HUB_USERNAME }}
43+ password : ${{ secrets.DOCKER_HUB_TOKEN }}
44+ repository : pandoc/${{ matrix.image }}
45+ readme-filepath : /tmp/README.${{ matrix.image }}.md
46+ short-description : ${{ steps.config.outputs.short_description }}
You can’t perform that action at this time.
0 commit comments