Skip to content

Commit

Permalink
Update automation_workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NastLen authored Dec 23, 2023
1 parent db81230 commit 8f2b98e
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions github/workflows/automation_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,8 @@ jobs:
- name: Install Dependencies
run: pip install -r requirements.txt

- name: Generate Facts
run: python generate_facts_about_animals.py

- name: Replace Placeholders
run: python replace_placeholders.py

- name: Commit Changes
- name: Generate and Replace Facts
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -am "Update animal facts [skip ci]"
python generate_facts_about_animals.py
python replace_placeholders.py
- name: Push Changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8f2b98e

Please sign in to comment.