Computer scienceSystem administration and DevOpsCI/CD processesGitHub Actions

Running a "hello world" action

Secret phrase

Report a typo

name: hs_workflow_intro_to_github_actions
on: [push]
jobs:
  show-secret-phrase:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
         repository: abystoma/test
         ref: main
      - name: Show me the answer
        run: cat answer.txt

You need to run this workflow file by creating a new repository. Your task is to find the secret phrase produced from answer.txt file. After successfully running the workflow, go to the Actions tab and click on the name of the workflow. Then you need to provide the output of the stage "Show me the answer".

Enter a short text
___

Create a free account to access the full topic