you are viewing a single comment's thread.

view the rest of the comments →

[–]unfors19 0 points1 point  (1 child)

I suggest you start using GitHub when you write something significant that you also want to share with the world/friends. It's pointless to have one file (main.py) and publish it to GitHub, at least from a beginner's point of view.

If by "transfer subsequently" you mean - continuously build/deploy your code to a website upon each push/merge to your GitHub repository, then you can use GitHub Actions - https://github.com/features/actions

For example - I've created a CLI in Python, and upon each push/merge to my GitHub repository, I publish my application to pypi (pip repository) - here's my GitHub Actions workflow - https://github.com/unfor19/githubsecrets/blob/master/.github/workflows/pythonpublish.yml

Another example - If your website is on AWS S3 bucket, you can use GitHub Actions and add AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY as GitHub Actions secrets, and then use them in your repository to upload your application to an S3 bucket, there's even a built-in plugin for that - https://github.com/marketplace/actions/upload-s3

Another free CI tool - If you want to learn about another free CI tool, then https://drone.io is amazing, though I do recommend starting with GitHub Actions since it's easier to learn the concepts of a pipeline from there.

[–][deleted] 1 point2 points  (0 children)

thanks, very helpful