Skip to content

Commit

Permalink
Fix README assemble workflow (#72)
Browse files Browse the repository at this point in the history
* Add dependencies installation to assemble-readme workflow

* Update workflow git operations

* Update workflow git operations
  • Loading branch information
phurwicz authored May 8, 2023
1 parent 1159edb commit 74c2514
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/assemble-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,18 @@ jobs:
with:
fetch-depth: 0

- name: Prepare Git
run: |
git config user.name ${{ secrets.ACTIONS_GIT_USERNAME }}
git config user.email ${{ secrets.ACTIONS_GIT_EMAIL }}
- name: Run script and get output files
run: |
pip install -r requirements-dev.txt
python docs/pipelines/generate_readme.py
mv docs/pipelines/README*.md ./
git add ./README*.md
git commit -m ""
git commit -m "Assemble README files from snippets"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc-auto-notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
- name: Prepare Git
run: |
git config --global user.name ${{ secrets.ACTIONS_GIT_USERNAME }}
git config --global user.email ${{ secrets.ACTIONS_GIT_EMAIL }}
git config user.name ${{ secrets.ACTIONS_GIT_USERNAME }}
git config user.email ${{ secrets.ACTIONS_GIT_EMAIL }}
git checkout pipeline/notebook-generation
git merge origin/main --no-edit
git push
Expand Down

0 comments on commit 74c2514

Please sign in to comment.