Skip to content

Commit

Permalink
Correct tab issue in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
saertna committed Sep 20, 2024
1 parent c36475f commit 00e72b3
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/lernos-produktionskette.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,20 @@ jobs:
VERSION=${{ steps.read_version.outputs.version }}
sed -i "s/releases\/download\/[0-9]\+\.[0-9]\+\.[0-9]\+/releases\/download\/$VERSION/g" de/mkdocs.yml
# Commit the updated mkdocs.yml
- name: Commit changes
run: |
git config --local user.name "GitHub Actions"
git config --local user.email "actions@github.com"
# Check if there are any changes to commit
if [ -n "$(git status --porcelain)" ]; then
git add de/mkdocs.yml
git commit -m "Update download links to version $VERSION"
git push
else
echo "No changes to commit."
fi
# Commit the updated mkdocs.yml
- name: Commit changes
run: |
git config --local user.name "GitHub Actions"
git config --local user.email "actions@github.com"
# Check if there are any changes to commit
if [ -n "$(git status --porcelain)" ]; then
git add de/mkdocs.yml
git commit -m "Update download links to version $VERSION"
git push
else
echo "No changes to commit."
fi
# Create Chapter List de
Expand Down

0 comments on commit 00e72b3

Please sign in to comment.