I recently used GitHub actions
And it is really amazing. I was so determined to make use of everything I have from my free GitHub account that I was so mad that I did not know this earlier.
Why it is awesome
- Github Gives Hosting For De Bot
- Github Marketplace is amazing
- It is Free
- Simple to use
Here is How to use:
- Create a .yml file in a
/.github/workspaces
directory - put these essential info:
on:
workflow_dispatch:
jobs:
name_of_job:
runs-on: ubuntu-latest
steps:
- uses: dependency
- run: shell or python file or something from dependency
shell: shellllll
This is not a real example so don't copy this...
These are made using YAML syntax, so it might be a little unfamiliar as it is not a scripting language. But this is a very simple to learn deployment language, and you can get used to it in a few hours (if only using it for actions).
You can run a scripting language in actions and fortunately, you can write python to make bots! (so kids, learn Python. It's useful. You probably know Bash if you don't know Python)
My current bots:
There are, of course more elements to make an action. But still, I am a beginner. I am currently using Platane/snk dependency for a nice snake animation on my README.md.
So, that's all for now!
I just want to say how good actions are and how easy it is to make one. Don't worry, the GitHub docs are really readable. Go to the sources down there 👇. Thanks for reading!
sources: https://docs.github.com/en/actions/learn-github-actions/essential-features-of-github-actions, https://docs.github.com/en/actions
Top comments (0)