Skip to content

Commit

Permalink
test(ct): for testing, determine if matrix discovery works for schedu…
Browse files Browse the repository at this point in the history
…le event
  • Loading branch information
poikilotherm committed Apr 10, 2024
1 parent 20c6a58 commit e923663
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/container_base_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
id: matrix
run: |
# Get last three releases and include develop branch as matrix elements
if [[ "${{ github.event_name }}" == "schedule" ]]; then
#if [[ "${{ github.event_name }}" == "schedule" ]]; then
echo "branches=$(curl -f -sS https://api.github.com/repos/IQSS/dataverse/releases | jq '[ .[0:3] | .[].tag_name, "develop" ]')" | tee -a "$GITHUB_OUTPUT"
else
echo "branches=['develop']" | tee -a "$GITHUB_OUTPUT"
fi
#else
# echo "branches=['develop']" | tee -a "$GITHUB_OUTPUT"
#fi
build:
name: Build image
Expand Down

0 comments on commit e923663

Please sign in to comment.