update release step
Build KX3DEX.radio / Build and Deploy (push) Failing after 2m21s
Details
Build KX3DEX.radio / Build and Deploy (push) Failing after 2m21s
Details
parent
21ae7fa91c
commit
6b0be661bd
|
@ -34,8 +34,7 @@ jobs:
|
|||
|
||||
echo "Checking https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases for name ${CURR_NAME}"
|
||||
|
||||
if curl -s -X GET -H "Authorization: token ${{ secrets.action_token }}" https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases | grep -o "\"name\"\:\"${CURR_NAME}\"" > /dev/null; then
|
||||
|
||||
if curl -s -X GET -H "Authorization: token ${{ secrets.ACTION_TOKEN }}" https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases | grep -o "\"name\"\:\"${CURR_NAME}\"" > /dev/null; then
|
||||
echo "Skipping ${{ gitea.job }} since $CURR_NAME already exists";
|
||||
exit 0
|
||||
fi
|
||||
|
@ -47,8 +46,8 @@ jobs:
|
|||
echo "Creating ${CURR_VER} release on gitea"
|
||||
RELEASE_RESULT=$(curl \
|
||||
-X POST \
|
||||
-H "Authorization: token ${{ secrets.action_token }}" \
|
||||
-H "Content-Type: multipart/form-data" \
|
||||
-H "Authorization: token ${{ secrets.ACTION_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases \
|
||||
-d "{\"tag_name\":\"${CURR_VER}\",\"name\":\"${CURR_NAME}\",\"body\":\"Automatic release from gitea :\n\n${{ gitea.event.head_commit.message }}\"}")
|
||||
|
||||
|
@ -58,7 +57,7 @@ jobs:
|
|||
|
||||
curl \
|
||||
-X POST \
|
||||
-H "Authorization: token ${{ secrets.action_token }}" \
|
||||
-H "Authorization: token ${{ secrets.ACTION_TOKEN }}" \
|
||||
https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases/$RELEASE_ID/assets
|
||||
|
||||
- name: Build and push
|
||||
|
@ -70,4 +69,4 @@ jobs:
|
|||
linux/arm64
|
||||
push: true
|
||||
tags: |
|
||||
gitea.simplysyncedllc.com/dex/kx3dex_radio:latest
|
||||
gitea.simplysyncedllc.com/dex/kx3dex_radio:${RELEASE_ID}
|
||||
|
|
|
@ -6,7 +6,7 @@ export default async function Home() {
|
|||
This is my little corner of the internet to share my radio projects on things I'm doing. Things I find and build that seem to not be documented anywhere. I have created pages for some of the projects I have done such as a communcations plan template. Also my go kit builds.
|
||||
</div>
|
||||
<div className="grid grid-cols-1 md:grid-cols-1 mt-5 gap-5">
|
||||
if there is anything you have for suggestions on projects you'd like to see a writeup on email me at bluebulletrl@gmail.com . Still need to setup email for this domain.
|
||||
if there is anything you have for suggestions on projects you'd like to see a writeup on email me at bluebulletrl@gmail.com. Still need to setup email for this domain.
|
||||
</div>
|
||||
<div className="grid grid-cols-1 md:grid-cols-1 mt-5 gap-5">
|
||||
Coming soon will be an updated DexNet guide that will include Meshtastic Information.
|
||||
|
|
Loading…
Reference in New Issue