This Python script allows you to easily deploy a local folder to a GitHub repository or delete an existing GitHub repository. It uses the PyGitHub library for GitHub interactions.
-
Clone or download the repository to your local machine.
git clone https://github.com/suryagowda/deployndelete.git
-
Open a terminal and navigate to the folder containing the script.
-
Install required package
pip install PyGithub
-
Edit Configuration:
- Open the config.py file and replace GITHUB_USERNAME and GITHUB_PASSWORD(github personal access token) with your GitHub credentials.
-
Run the Script:
python deploy.py
-
Follow the Instructions:
- The script will guide you through the deployment process.
Python installed on your machine.
- This script uses PyGitHub, and you can install it using the provided command.
- Do not forget to replace the default values in config.py with your GitHub credentials.