update release step
Build KX3DEX.radio / Build and Deploy (push) Failing after 2m21s Details

master kx3dex_radio_v1.3.0
Dex 2024-05-06 13:03:39 -04:00
parent 21ae7fa91c
commit 6b0be661bd
2 changed files with 6 additions and 7 deletions

View File

@ -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}

View File

@ -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&apos;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&apos;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.