Skip to content

Commit 8dc50b4

Browse files
committed
Commit book builds so multiple books can be built at the same time.
1 parent aa2eaca commit 8dc50b4

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/workflow.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,13 @@ jobs:
139139
cp -R '${{ env.REPO }}/_book'/* public/$BRANCH/
140140
fi
141141
142-
#- name: Commit build
143-
# run: |
144-
# git config --global user.name $GH_USER
145-
# git config --global user.email "learning-hub@nceas.ucsb.edu"
146-
# git add public/$BRANCH
147-
# git commit -m "Create automated build"
148-
# git push
142+
- name: Commit build
143+
run: |
144+
git config --global user.name $GH_USER
145+
git config --global user.email "learning-hub@nceas.ucsb.edu"
146+
git add public/$BRANCH
147+
git commit -m "Commit automated book build for ${{ env.REPO }}@${{ env.BRANCH }}"
148+
git push
149149
150150
- name: Deploy to GitHub Pages
151151
uses: JamesIves/github-pages-deploy-action@v4.4.3

0 commit comments

Comments
 (0)