Skip to content

Commit

Permalink
Fix push command
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushuk committed Apr 29, 2024
1 parent 7bf1ad0 commit f4e383e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def upload(name: str, version: str, new_template: int, token: str):
# TODO: make a PR or push to main?
subprocess.run('git -C pros-docs add .', shell=True)
subprocess.run(f'git -C pros-docs commit -m \"[BRANCHLINE] Update {name}\"', shell=True)
subprocess.run(f'git -C pros-docs https://{token}@github.com/purduesigbots/pros-docs', shell=True)
subprocess.run(f'git -C pros-docs push https://{token}@github.com/purduesigbots/pros-docs', shell=True)


def main():
Expand Down

0 comments on commit f4e383e

Please sign in to comment.