Skip to content

Commit

Permalink
fix: secrets values
Browse files Browse the repository at this point in the history
  • Loading branch information
BenValentim committed Apr 4, 2024
1 parent 76cbdb1 commit af5858f
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,26 @@ name: Call consume repository

on:
push:
branches:
- main
branches: ["main"]

env:
POKEMON: ${{ secrets.POKEMON }}
LEVEL: ${{ secrets.LEVEL }}

jobs:
build:
runs-on: ubuntu-latest
env:
POKEMON: ${{ secrets.POKEMON }}
LEVEL: ${{ secrets.LEVEL }}
environment: main

steps:
- name: Checkout Repo
- name: "Checkout"
uses: actions/checkout@v4

- name: Repository Dispatch
- name: "Dispatch"
uses: QuasarwayGit/workflow-consume@main
with:
client-payload: |-
{
"POKEMON": "${{ env.POKEMON }}",
"LEVEL": "${{ env.LEVEL }}
}
"LEVEL": "${{ env.LEVEL }}"
}

0 comments on commit af5858f

Please sign in to comment.