We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75bd6c9 commit ca32cb4Copy full SHA for ca32cb4
1 file changed
.github/workflows/genera-qmd.yml
@@ -0,0 +1,32 @@
1
+name: Genera QMD
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ paths:
7
+ - "script/risorse/lista-pubblicazioni.csv"
8
+ - "pubblicazioni/**/risorse/*_resized.png"
9
+ workflow_dispatch:
10
11
+jobs:
12
+ genera:
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: write
16
17
+ steps:
18
+ - uses: actions/checkout@v4
19
20
+ - uses: actions/setup-python@v5
21
+ with:
22
+ python-version: "3.11"
23
24
+ - name: Genera QMD
25
+ run: python3 script/lista.py
26
27
+ - name: Commit QMD generati
28
+ run: |
29
+ git config user.name "github-actions[bot]"
30
+ git config user.email "github-actions[bot]@users.noreply.github.com"
31
+ git add pubblicazioni/**/*.qmd pubblicazioni/**/*_resized.png
32
+ git diff --staged --quiet || git commit -m "genera qmd" && git push
0 commit comments