git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42447eb
)
fix CD job missing git user info
author
gggeek
<giunta.gaetano@gmail.com>
Sat, 7 Jan 2023 18:08:08 +0000
(18:08 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Sat, 7 Jan 2023 18:08:44 +0000
(18:08 +0000)
.github/workflows/cd.yaml
patch
|
blob
|
history
diff --git
a/.github/workflows/cd.yaml
b/.github/workflows/cd.yaml
index
03dcc7e
..
a1ae761
100644
(file)
--- a/
.github/workflows/cd.yaml
+++ b/
.github/workflows/cd.yaml
@@
-7,7
+7,8
@@
on:
- master
jobs:
- release:
+ # we could try to split in 2 jobs: one for docs and one for release, but the release one needs the asset from the docs one...
+ docs_and_release:
runs-on: ubuntu-latest
steps:
- name: checkout code
@@
-29,6
+30,9
@@
jobs:
files: |
src/**
+ - name: set git credentials as user triggering the build
+ uses: fregante/setup-git-user@v1
+
# build and upload api docs
# NB: this happens independently of releases!
- name: generate and upload api docs