Skip to content

Commit

Permalink
use pull secret
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 committed Aug 29, 2024
1 parent b5c9ee3 commit af7c460
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ jobs:
steps:
- name: Define presets
id: presets
env:
PULL_SECRET: ${{ secrets.PULL_SECRET }}
run: |
if [[ ${{github.event_name}} != 'pull_request' ]];then
if [[ -n "${PULL_SECRET}" ]];then
echo 'presets=["okd", "openshift", "microshift"]' >> "$GITHUB_OUTPUT"
else
echo 'presets=["okd"]' >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit af7c460

Please sign in to comment.