Skip to content

Commit 4499013

Browse files
authored
Add git add command to README sync step
1 parent dfd0b35 commit 4499013

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/real-npm-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ 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 add -A
5960
git commit -am "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
@@ -86,6 +87,7 @@ 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"
90+
git add -A
8991
git commit -am "Synced README"
9092
- run: npx lerna publish from-package --yes
9193
env:

0 commit comments

Comments
 (0)