Skip to content
Snippets Groups Projects
Commit 6774152a authored by GianlucaOberreit's avatar GianlucaOberreit Committed by Gianluca OBERREIT
Browse files

Update committee_creation.yml

parent 1971e240
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,6 @@ jobs:
run: |
branch_name=${{ github.ref }}
branch_name=${branch_name#refs/heads/committee/}
echo ${pwd}
sed "s/class Example/class $branch_name/g" src/Committees/example.py > "src/Committees/${branch_name}.py"
shell: bash
......@@ -33,6 +32,7 @@ jobs:
branch_name=${branch_name#refs/heads/committee/}
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git status
git add "src/Committees/${branch_name}.py"
git commit -m "Add ${branch_name}.py"
git push origin $branch_name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment