Skip to content

Commit

Permalink
modify action to only add from table-of-contents-files directory and …
Browse files Browse the repository at this point in the history
…we also need to check out a specific branch
  • Loading branch information
Blargian committed Jan 24, 2025
1 parent d3f9730 commit d990f0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/table_of_contents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
# Step 1: Check out the repository
- name: Check out repository
uses: actions/checkout@v3
with:
ref: formats_action

# Step 2 - Setup Python
- name: Set up Python
Expand Down Expand Up @@ -70,6 +72,6 @@ jobs:
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor}}@users.noreply.github.com"
# standard git flow
git add .
git add table-of-contents-files/*
git commit -m "Autogenerate or update table of contents files from GitHub action"
git push

0 comments on commit d990f0c

Please sign in to comment.