Skip to content

Commit a324ba2

Browse files
committed
chore(gha): use the river pro secret env var
1 parent f9b6deb commit a324ba2

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/build-and-deploy-backend.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,8 @@ jobs:
132132
- id: run-tests
133133
if: ${{ inputs.notest != 'true' }}
134134
run: make test
135-
- name: Upload coverage reports to Codecov
136-
if: ${{ inputs.notest != 'true' }}
137-
uses: codecov/[email protected]
138-
with:
139-
token: ${{ secrets.CODECOV_TOKEN }}
135+
env:
136+
RIVER_PRO_SECRET: ${{ secrets.RIVER_PRO_SECRET }}
140137

141138
build:
142139
permissions:
@@ -148,6 +145,8 @@ jobs:
148145
with:
149146
go-version-file: go.mod
150147
- run: make release
148+
env:
149+
RIVER_PRO_SECRET: ${{ secrets.RIVER_PRO_SECRET }}
151150
- uses: actions/upload-artifact@v4
152151
with:
153152
name: nada-backend

.github/workflows/codecov.yml

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838

3939
- name: Run tests with coverage
4040
run: make cover
41+
env:
42+
RIVER_PRO_SECRET: ${{ secrets.RIVER_PRO_SECRET }}
4143

4244
- name: Upload coverage to Codecov
4345
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)