Skip to content

Commit

Permalink
Update github-actions-demo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matheus002 authored Aug 7, 2024
1 parent 484f52d commit dfaaaec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
environment: staging
env:
SECRET_VALUE: ${{ secrets.SECRET_VALUE }}
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- run: echo "getting the secret name ${{ secrets.SECRET_NAME }}."
- run: echo "getting the secret environment ${{ secrets.SECRET_VALUE }}."
- run: echo ${{ secrets.SECRET_VALUE }} | sed 's/./& /g'
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
Expand Down

0 comments on commit dfaaaec

Please sign in to comment.