Skip to content
Snippets Groups Projects
Unverified Commit c7ccb099 authored by GianlucaOberreit's avatar GianlucaOberreit Committed by GitHub
Browse files

Update committee_creation.yml

parent fb7f5291
No related branches found
No related tags found
1 merge request!12Dev
...@@ -18,7 +18,7 @@ jobs: ...@@ -18,7 +18,7 @@ jobs:
run: | run: |
branch_name=${{ github.ref }} branch_name=${{ github.ref }}
branch_name=${branch_name#refs/heads/committee/} branch_name=${branch_name#refs/heads/committee/}
test=${pwd} echo ${pwd}
sed "s/class Example/class $branch_name/g" src/Committees/example.py > "src/Committees/${branch_name}.py" sed "s/class Example/class $branch_name/g" src/Committees/example.py > "src/Committees/${branch_name}.py"
shell: bash shell: bash
...@@ -26,7 +26,7 @@ jobs: ...@@ -26,7 +26,7 @@ jobs:
run: | run: |
branch_name=${{ github.ref }} branch_name=${{ github.ref }}
branch_name=${branch_name#refs/heads/comm/} branch_name=${branch_name#refs/heads/comm/}
test=${pwd} echo ${pwd}
git config --global user.email "actions@github.com" git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions" git config --global user.name "GitHub Actions"
git add "src/Committees/${branch_name}.py" git add "src/Committees/${branch_name}.py"
......
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