This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# upload or update a file to a folder in a remote GitHub repository | |
# v1.0.0 | |
# source: | |
# https://gist.github.com/alifeee/d711370698f18851f1927f284fb8eaa8 | |
# for more info see | |
# https://blog.alifeee.co.uk/notes/uploading-files-to-a-git-hub-repository-with-a-bash-script/ | |
# provide environment variables when executing script or with .env file | |
# example: | |
# export org="alifeee" |
OlderNewer