# How to Set up GitHub Actions

> To set up GitHub Actions in GitHub, navigate to your repository, click 'Add file', and create a new file with a workflow definition. Commit and push the file, then go to the 'Actions' tab to view triggered runs and logs. Finally, click the pencil icon to modify the workflow file.

Canonical: https://livedemo.ai/tutorials/how-to-set-up-github-actions/
Apps: GitHub
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a4e1fab56e05a00ff9dfe/preview?step=1

## Steps

1. Navigate to your repository on GitHub.
2. Click 'Add file'.
3. Create a new file in your repository.
4. Add a simple workflow definition.
5. Commit and push the workflow file by clicking 'Commit changes'.
6. Commit the YAML file and push it to the repository. Click on the 'Commit changes' button.
7. Go to the 'Actions' tab in your repository.
8. Click on the workflow name to see the triggered runs.
9. Click on individual jobs to view logs and debug issues.
10. Click on the pencil icon.
11. Modify the workflow file to suit your project needs.
12. By following these steps, you can set up GitHub Actions to automate builds, tests, and deployments.
