What are GitHub Actions | Step by Step for Beginners | Hindi

Sdílet
Vložit
  • čas přidán 15. 07. 2024
  • FREE COURSES - automationstepbystep.com/
    Topics:
    1. What are GitHub Actions
    2. How to use - Step by Step DEMO
    3. A demo workflow file - how to create, run and check results
    4. Terms: Workflows, Events, Jobs, Steps
    00:00 Intro
    01:37 What are GitHub Actions
    07:39 Demo
    09:00 Create a new repository
    12:40 Create a workflow YAML file
    18:05 Check results
    21:04 Terms in GitHub Actions
    GitHub Actions
    - feature in GitHub to create custom automated Workflows
    - automate SDLC workflows
    - implement CI CD DevOps
    - run a task on a specific event
    DEMO
    Step 1 - Sign up or Login to GitHub.com
    Step 2 - Create a new repository
    Step 3 - In the repo create a folder .github/workflows
    Step 4 - In the folder create a YAML file with extension .yml
    Step 5 - Add the workflow content to the file
    Step 6 - Commit and push the changes
    Step 7 - Goto main page of the repo and goto “Actions”
    Step 8 - Select the workflow from the left side and check the logs and results
    Terms:
    WORKFLOW : collection of jobs, defined in a YAML file
    name:
    EVENTS : any activity in the repo that can trigger a workflow
    on:
    JOBS : collection of steps
    jobs:
    STEPS : actions to be taken, commands, scripts
    steps:
    Chain Jobs - :needs
    Git & GitHub Hands-On - • Git and GitHub Hands-O...
    gist.github.com/weibeld/f1360...
    QUIZ - forms.gle/UHAjM1aUDzdcq2wM8
    #GitHubActions #Demo #Hindi
    CI CD DEVOPS
    JENKINS BEGINNER ► bit.ly/2MIn8EC
    JENKINS TIPS & TRICKS ►bit.ly/2LRt6xC
    JENKINSFILE ► bit.ly/3JSMSZ7
    DOCKER ► bit.ly/2MInnzx
    KUBERNETES ► bit.ly/2MJIlMK
    SOURCE CODE MANAGEMENT
    GIT & GITHUB ►bit.ly/2Q1pagY
    GITLAB ► bit.ly/2kQPGyQ
    CLOUD SERVICES
    BROWSERSTACK ► bit.ly/3w7kxZn
    SAUCELABS ► bit.ly/3w7kAo1
    LAMBDATEST ► bit.ly/3C6TBwM
    DATA FORMATS
    JSON ► bit.ly/3w450tq
    XML ► bit.ly/3PqRneH
    VIRTUALIZATION
    VIRTUALIZATION ON WINDOWS ► bit.ly/2SItIL9
    MOCK INTERVIEWS ► bit.ly/3QGwwVJ ▬▬
    OTHERS
    REDIS ►bit.ly/2N9jyCG
    MISC ► bit.ly/2Q2q5xQ
    TOOLS & TIPS ► bit.ly/2oBfwoR
    QnA FRIDAY ► bit.ly/2NgwGpw
    SUNDAY SPECIAL ► bit.ly/2wB23BO
    UDEMY ► www.udemy.com/user/raghav-pal-3/
    GITHUB PROJECTS ► github.com/Raghav-Pal/
    CORPORATE TRAINING ► automationstepbystep.com/corp...
    STORIES BY RAGHAV ► automationstepbystep.com/stor...
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Every LIKE & SUBSCRIPTION gives me great motivation to keep working for you
    You can support my mission for education by sharing this knowledge and helping as many people as you can
    If my work has helped you, consider helping any animal near you, in any way you can
    NEVER STOP LEARNING
    Raghav Pal
    ASK RAGHAV ► bit.ly/2CoJGWf
    ...

Komentáře • 36

  • @zunaira_059
    @zunaira_059 Před 5 dny +1

    great tutorial ever

  • @JaskiranKaur-xr7ih
    @JaskiranKaur-xr7ih Před 10 měsíci +3

    There couldn't have been any better or any simpler way to describe Github actions. Thank you for your clear demo and explanation !

  • @shashankpalsingh5607
    @shashankpalsingh5607 Před 2 měsíci

    Thankyou sir for clear demo and explanation.

  • @AshishKumar-wh6dw
    @AshishKumar-wh6dw Před měsícem

    Thanks for the amazing video

  • @deepaksinghchauhan2819
    @deepaksinghchauhan2819 Před rokem +1

    nice and simply explained video thank you sir.

  • @NandiOnTheWheels
    @NandiOnTheWheels Před 11 měsíci

    one of the best video on this topic

  • @deepakyadav-ny2cj
    @deepakyadav-ny2cj Před 8 měsíci +1

    Nice sir really like it 👍

  • @kunmunmroutray5127
    @kunmunmroutray5127 Před 7 měsíci

    its really simple and clean explanation
    Thank you so much

  • @NandiOnTheWheels
    @NandiOnTheWheels Před 11 měsíci

    great sir great very nice word to word explanation

  • @harinareshrawat6143
    @harinareshrawat6143 Před rokem

    Thanks Raghav for starting this wonderful series. I hope you will be covering GitHub actions thoroughly.

  • @MN-wv6dq
    @MN-wv6dq Před rokem

    Very nice explanation..

  • @O-A-levels
    @O-A-levels Před 8 měsíci

    Great explanation way , salute sir

  • @MN-wv6dq
    @MN-wv6dq Před rokem

    Hope to see next video soon

  • @digitalcreator297
    @digitalcreator297 Před 3 měsíci

    Awesome session sir.. please upload more videos in Hindi..like Selenium Automation with Python, Robot Framework, Appium etc

  • @imranyounas3254
    @imranyounas3254 Před měsícem

    I want to ask one question how can I run the API after deployment like as I deployed through GitHub action and now want to use live.

  • @Kedarg799
    @Kedarg799 Před rokem +1

    Thanks sir, can you please make github actions tutorials

  • @electricconceptcar3453
    @electricconceptcar3453 Před 7 měsíci

    nice explanation. can you please explain how can we deploy the azure vm template using github action.

  • @travelworld5889
    @travelworld5889 Před rokem

    Can someone help me please i have github action and there is SIT and UAT already present so my task is - create a branch for PRE PROD in github action how to do and what need to be configure there please help me guys

    • @Raghav_Pal
      @Raghav_Pal  Před 6 měsíci

      Here are the steps involved:
      1. Create the PRE PROD Branch:
      - Navigate to your repository on GitHub.
      - Click the "Branch" button or dropdown menu.
      - Type "PRE_PROD" (or your preferred name) and click "Create branch."
      2. Modify Workflow YAML File:
      - Access the YAML file defining your GitHub Actions workflow.
      - Add a new job for PRE PROD, similar to SIT and UAT, with appropriate configuration:
      ```yaml
      jobs:
      pre_prod:
      runs-on: ubuntu-latest # Specify desired runner
      steps:
      - uses: actions/checkout@v3
      - name: Set up environment
      # ... necessary environment setup steps
      - name: Run PRE PROD tests
      # ... commands to run PRE PROD tests or deployments
      ```
      3. Configure Triggers and Conditions:
      - Triggers: Determine when to initiate the PRE PROD job:
      - Pushes to specific branches (e.g., `main`)
      - Pull requests
      - Manually
      - Conditions: Control when the job executes:
      - `if: ${{ github.ref == 'refs/heads/main' }}` (example for main branch)
      4. Incorporate Deployment Steps:
      - If deploying to a PRE PROD environment, include necessary deployment steps within the `pre_prod` job.
      5. Commit and Push Changes:
      - Commit the updated YAML file to your repository.
      - Push the changes to trigger the new PRE PROD workflow.
      Additional Considerations:
      - Branch Protection Rules: Enforce quality and review processes by setting branch protection rules for PRE PROD.
      - Secrets and Environment Variables: Securely manage sensitive information using GitHub Actions secrets.
      - Dependent Jobs: If PRE PROD relies on SIT or UAT results, use `needs` to define job dependencies.

  • @Najamashaikh937
    @Najamashaikh937 Před 10 měsíci

    Great ...Thnx Raghav....Upload another mobile Automation Appium Tool. Hands on exp.

  • @travelworld5889
    @travelworld5889 Před rokem

    Can someone help me please i have github action and there is SIT and UAT already present so my task is - create a branch for PRE PROD in github action how to do and what need to be configure there please help me guys

    • @Raghav_Pal
      @Raghav_Pal  Před 6 měsíci

      Here are the steps involved:
      1. Create the PRE PROD Branch:
      - Navigate to your repository on GitHub.
      - Click the "Branch" button or dropdown menu.
      - Type "PRE_PROD" (or your preferred name) and click "Create branch."
      2. Modify Workflow YAML File:
      - Access the YAML file defining your GitHub Actions workflow.
      - Add a new job for PRE PROD, similar to SIT and UAT, with appropriate configuration:
      ```yaml
      jobs:
      pre_prod:
      runs-on: ubuntu-latest # Specify desired runner
      steps:
      - uses: actions/checkout@v3
      - name: Set up environment
      # ... necessary environment setup steps
      - name: Run PRE PROD tests
      # ... commands to run PRE PROD tests or deployments
      ```
      3. Configure Triggers and Conditions:
      - Triggers: Determine when to initiate the PRE PROD job:
      - Pushes to specific branches (e.g., `main`)
      - Pull requests
      - Manually
      - Conditions: Control when the job executes:
      - `if: ${{ github.ref == 'refs/heads/main' }}` (example for main branch)
      4. Incorporate Deployment Steps:
      - If deploying to a PRE PROD environment, include necessary deployment steps within the `pre_prod` job.
      5. Commit and Push Changes:
      - Commit the updated YAML file to your repository.
      - Push the changes to trigger the new PRE PROD workflow.
      Additional Considerations:
      - Branch Protection Rules: Enforce quality and review processes by setting branch protection rules for PRE PROD.
      - Secrets and Environment Variables: Securely manage sensitive information using GitHub Actions secrets.
      - Dependent Jobs: If PRE PROD relies on SIT or UAT results, use `needs` to define job dependencies.