Skip to content

Commit

Permalink
feat: secret
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoeduardodev committed Jul 3, 2024
1 parent fb01e71 commit d625fe7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: CI
on:
pull_request
pull_request_target

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: pnpm/action-setup@v2
with:
version: 7
Expand All @@ -16,4 +18,5 @@ jobs:
cache: "pnpm"

- run: pnpm install --frozen-lockfile
- run: pnpm run ci
- run: echo "Secret is ${{ secrets.batata }}"
- run: BATATA=${{ secrets.batata }} pnpm run ci

0 comments on commit d625fe7

Please sign in to comment.