Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 30, 2022 09:34 am GMT

Overview of Github Actions - Part 2

Overview of Github Actions

  1. Overview of Github Actions - Part 1
  2. Overview of Github Actions - Part 2

Create an example workflow

  1. Create a .github/workflows directory in your repository on GitHub.
  2. In the .github/workflows directory, You can create a file named github-actions-kcddemo.yml.
  3. YAML contents is in the github-actions-kcddemo.yml file.
  4. To start a pull request, scroll to the bottom of the page and select create a new branch. Click Propose new file to create a pull request.demo
  5. The push event occurs when you commit the file to a branch.

Viewing your workflow Output

  • On GitHub.com, go to the main page of the repository.

  • Click Actions under your repository name.

actions

  • In the left sidebar, you can click on the workflows you want to see.

workflow

  • Click on the name of the run you want to see.

run

  • You can click the Explore-GitHub-Actions job.

explore

  • The log shows how the steps were processed. To view its details, expand any of the steps.

log

Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.


Original Link: https://dev.to/makendrang/overview-of-github-actions-part-2-9f6

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To