Skip to content

Commit

Permalink
make both the container build and the firmware deploy manually triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
pljakobs committed Dec 23, 2024
1 parent 8733ee8 commit df957ab
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Build Container
on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC
workflow_dispatch:
inputs:
someParameter:
description: "Optional parameter"
required: false

jobs:
check-updates:
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- "Application CI" # Must match the name in build_firmware.yml
types:
- completed
workflow_dispatch:
inputs:
someParameter:
description: "Optional parameter"
required: false
jobs:
get-version:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
Expand Down Expand Up @@ -150,12 +155,12 @@ jobs:
}
],
"rom": {
"fw_version": "${{ steps.get_fw_version.outputs.fw_version }}",
"url": "download/esp8266/testing/release/rom0.bin"
"fw_version": "${{ steps.get_fw_version.outputs.fw_version }}",
"url": "download/esp8266/testing/release/rom0.bin"
},
"spiffs": {
"webapp_version": "0.3.3",
"url": "http://rgbww.dronezone.de/testing/spiff_rom.bin"
"webapp_version": "0.3.3",
"url": "http://rgbww.dronezone.de/testing/spiff_rom.bin"
}
}
EOF
Expand Down

0 comments on commit df957ab

Please sign in to comment.