Skip to content

Commit

Permalink
fix: wrong doc dir in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
boholder committed May 13, 2024
1 parent b2772d4 commit a6dc1f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fast_forward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Copy the changelogs from pr message to latest.md
if: ${{ env.MERGE_STATUS == 'clean' }}
run: |
cd ./docs/changelogs
cd ./doc/changelogs
echo "$ISSUE_BODY" > pr_msg.txt
python copy_changelogs_to.py pr_msg.txt latest.md > ../../response.txt
cat ../../response.txt
Expand All @@ -101,7 +101,7 @@ jobs:
if [[ "$( tail ./response.txt -n 1 )" = "No changes to write\!" ]] || [[ "$( tail ./response.txt -n 1 )" =~ "File \`(.*?)\` not found\!" ]]; then
echo "COMMENT=${{ env.COMMENT }}\nNo changelogs found..." >> $GITHUB_ENV
else
git add docs/changelogs/latest.md
git add doc/changelogs/latest.md
git commit -m "chore(ff ci): add changelogs from #${{ github.event.issue.number }} to CHANGELOG.md"
echo "COMMENT=${{ env.COMMENT }}\nCopied the changelogs from pull request body to doc/CHANGELOG.md..." >> $GITHUB_ENV
fi
Expand Down

0 comments on commit a6dc1f8

Please sign in to comment.