Skip to content

Commit f23b38a

Browse files
authored
Merge pull request nightscout#176 from MikePlante1/alive-dev
Update alive to dev
2 parents f6afb8c + 3a184ed commit f23b38a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build_trio.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,20 @@ jobs:
6969
env:
7070
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
7171
run: |
72-
# get ref for nightscout/Trio:main
72+
# get ref for nightscout/Trio:dev
7373
response=$(curl --request GET \
74-
--url "https://api.github.com/repos/${{ env.UPSTREAM_REPO }}/git/refs/heads/main" \
74+
--url "https://api.github.com/repos/${{ env.UPSTREAM_REPO }}/git/refs/heads/dev" \
7575
--header "Authorization: Bearer $GITHUB_TOKEN" \
7676
--silent)
7777
echo "API Response: $response"
7878
SHA=$(echo "$response" | jq -r '.object.sha')
7979
if [ "$SHA" = "null" ]; then
80-
echo "Error: Unable to retrieve SHA for the main branch."
80+
echo "Error: Unable to retrieve SHA for the dev branch."
8181
exit 1
8282
fi
83-
echo "SHA of main branch: $SHA";
83+
echo "SHA of dev branch: $SHA";
8484
85-
# Create alive branch based on nightscout/Trio:main
85+
# Create alive branch based on nightscout/Trio:dev
8686
gh api \
8787
--method POST \
8888
-H "Authorization: token $GITHUB_TOKEN" \

0 commit comments

Comments
 (0)