Compare commits

...

9 Commits

Author SHA1 Message Date
Robert Burgess ff979a2cfc test
Build KX3DEX.radio / Build and Deploy (push) Successful in 28m58s Details
2024-08-15 15:49:05 -04:00
Dex d6958ea3ea Adding Version releases
Build KX3DEX.radio / Build and Deploy (push) Successful in 29m55s Details
2024-05-06 22:39:45 -04:00
Dex 221d7f9c72 revert
Build KX3DEX.radio / Build and Deploy (push) Successful in 32m45s Details
2024-05-06 20:42:54 -04:00
Dex 84b0d5923d Test new version method.
Build KX3DEX.radio / Build and Deploy (push) Failing after 30m43s Details
2024-05-06 18:19:33 -04:00
Dex 6e12955241 deploy testing
Build KX3DEX.radio / Build and Deploy (push) Failing after 46s Details
2024-05-06 16:32:11 -04:00
Dex 571d5558b1 Test pulling version
Build KX3DEX.radio / Build and Deploy (push) Failing after 35s Details
2024-05-06 16:06:30 -04:00
Dex 38ad6bbe53 Resolve docker build.
Build KX3DEX.radio / Build and Deploy (push) Failing after 32s Details
2024-05-06 15:10:14 -04:00
Dex fe7bbf995f Fix release & publish
Build KX3DEX.radio / Build and Deploy (push) Failing after 2m13s Details
2024-05-06 14:00:39 -04:00
Dex d44acad05c Update Deployment.
Build KX3DEX.radio / Build and Deploy (push) Failing after 31s Details
2024-05-06 13:54:56 -04:00
4 changed files with 19 additions and 8 deletions

View File

@ -13,21 +13,32 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- uses: actions/github-script@v7
id: set-result
with:
script: |
var fs = require("fs")
var content = fs.readFileSync("package.json", { encoding: 'utf8', flag: 'r' })
var pkg = JSON.parse(content)
return pkg.version
result-encoding: string
- name: Get result
run: echo "gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}"
- name: Install QEMU - name: Install QEMU
run: apt-get update && apt-get install -y qemu-user-static run: apt-get update && apt-get install -y qemu-user-static
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v3
- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '18.20.0' node-version: '18.20.0'
- name: Create a new release and publish package. - name: Create a new release and publish package.
id: release
run: | run: |
CURR_VER="$(cat package.json | jq -r .name)_v$(cat package.json | jq -r .version)" CURR_VER="$(cat package.json | jq -r .name)_v$(cat package.json | jq -r .version)"
CURR_NAME="$(cat package.json | jq -r .name) v$(cat package.json | jq -r .version)" CURR_NAME="$(cat package.json | jq -r .name) v$(cat package.json | jq -r .version)"
@ -58,6 +69,7 @@ jobs:
curl \ curl \
-X POST \ -X POST \
-H "Authorization: token ${{ secrets.ACTION_TOKEN }}" \ -H "Authorization: token ${{ secrets.ACTION_TOKEN }}" \
-H "Content-Type: application/json" \
https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases/$RELEASE_ID/assets https://gitea.simplysyncedllc.com/api/v1/repos/${{ gitea.repository }}/releases/$RELEASE_ID/assets
- name: Build and push - name: Build and push
@ -69,4 +81,5 @@ jobs:
linux/arm64 linux/arm64
push: true push: true
tags: | tags: |
gitea.simplysyncedllc.com/dex/kx3dex_radio:${RELEASE_ID} gitea.simplysyncedllc.com/dex/kx3dex_radio:latest
gitea.simplysyncedllc.com/dex/kx3dex_radio:${{steps.set-result.outputs.result}}

View File

@ -4,8 +4,6 @@ RUN apk add --no-cache libc6-compat
WORKDIR /app WORKDIR /app
COPY package.json yarn.lock ./ COPY package.json yarn.lock ./
RUN yarn config set network-timeout 100000 RUN yarn config set network-timeout 100000
#RUN apk add g++ make py3-pip
#RUN yarn global add node-gyp
RUN yarn install RUN yarn install
# Rebuild the source code only when needed # Rebuild the source code only when needed

View File

@ -9,7 +9,7 @@ export default async function Home() {
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>
<div className="grid grid-cols-1 md:grid-cols-1 mt-5 gap-5"> <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. Coming soon will be an updated DexNet guide that will include Meshtastic Information. New document will be uploaded End of August.
</div> </div>
</div> </div>
); );

View File

@ -1,6 +1,6 @@
{ {
"name": "kx3dex_radio", "name": "kx3dex_radio",
"version": "1.3.0", "version": "1.3.5",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",