We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e459a5 commit 2582843Copy full SHA for 2582843
.github/workflows/build.yml
@@ -2,6 +2,10 @@ name: "Build and package"
2
on:
3
pull_request:
4
push:
5
+
6
+env:
7
+ SECRETS_ARE_AVAILABLE: ${{ secrets.SECRETS_ARE_AVAILABLE }}
8
9
jobs:
10
build:
11
strategy:
@@ -67,8 +71,8 @@ jobs:
67
71
package:
68
72
# this will only work when the jobs above have uploaded
69
73
# their stuff to the nix cache, which will only work
70
- # in this repository
- if: github.repository == 'entropia/tip-toi-reveng'
74
+ # if secrets are available
75
+ if: ${{ env.SECRETS_ARE_AVAILABLE }}
76
runs-on: ubuntu-latest
77
needs: build
78
steps:
0 commit comments