Skip to content

Commit a397ee2

Browse files
authored
Merge pull request #361 from kit-data-manager/maximiliani-patch-1
Update git commit command in publish workflow
2 parents 58d3692 + 8eef636 commit a397ee2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ jobs:
5656
cp README.md packages/stencil-library
5757
git config --global user.email "webmaster@datamanager.kit.edu"
5858
git config --global user.name "GitHub Action"
59-
git commit -am "Synced README"
59+
git add .
60+
git commit -m "Synced README"
6061
- name: Configure GitHub Packages scope
6162
run: echo "@$(echo '${{ github.repository }}' | cut -d '/' -f 1):registry=https://npm.pkg.github.com" >> .npmrc
6263
- run: npx lerna publish from-package --yes
@@ -86,7 +87,8 @@ jobs:
8687
cp README.md packages/stencil-library
8788
git config --global user.email "webmaster@datamanager.kit.edu"
8889
git config --global user.name "GitHub Action"
89-
git commit -am "Synced README"
90+
git add .
91+
git commit -m "Synced README"
9092
- run: npx lerna publish from-package --yes
9193
env:
9294
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)