Skip to content

Commit

Permalink
Fix README replacement issue
Browse files Browse the repository at this point in the history
  • Loading branch information
georgiesamaha committed Jul 20, 2023
1 parent 62c9a67 commit aa41400
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,15 @@ jobs:
github_username="$(echo $INFO | jq -r .repository.owner.login)" \
author_name="$(echo $INFO | jq -r .repository.owner.name)"
popd
# Delete the .github directory, it has served its purpose
# Delete the .github directory and README, they're not needed anymore
rm -rf .github/
rm -rf README.md
shopt -s dotglob
# Move template content to root, ensure hidden and README are replaced
rsync -a /tmp/$REPO_NAME/ .
- name: Force push changes to main
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Initial template structure"
commit_message: "Build skeleton template"
push_options: "--force"

0 comments on commit aa41400

Please sign in to comment.