Fix workflow
This commit is contained in:
parent
59e2750cf3
commit
b8f621d32e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/workflow.yml
vendored
4
.github/workflows/workflow.yml
vendored
|
@ -81,7 +81,7 @@ jobs:
|
||||||
- name: gzip build for LittleFS
|
- name: gzip build for LittleFS
|
||||||
run: find dist -type f ! -name ".*" -exec sh -c 'mkdir -p "build_gz/$(dirname "${1#dist/}")" && gzip -k "$1" -c > "build_gz/${1#dist/}".gz' _ {} \;
|
run: find dist -type f ! -name ".*" -exec sh -c 'mkdir -p "build_gz/$(dirname "${1#dist/}")" && gzip -k "$1" -c > "build_gz/${1#dist/}".gz' _ {} \;
|
||||||
- name: Write git rev to file
|
- name: Write git rev to file
|
||||||
run: echo "$GITHUB_SHA" > build_gz/fs_hash.txt
|
run: echo "$GITHUB_SHA" > build_gz/fs_hash.txt && echo "$GITHUB_SHA" > output/commit.txt
|
||||||
- name: Check GZipped directory size
|
- name: Check GZipped directory size
|
||||||
run: |
|
run: |
|
||||||
# Set the threshold size in bytes
|
# Set the threshold size in bytes
|
||||||
|
@ -127,6 +127,6 @@ jobs:
|
||||||
target-directory: webui/
|
target-directory: webui/
|
||||||
destination-github-username: 'btclock'
|
destination-github-username: 'btclock'
|
||||||
destination-repository-name: 'web-flasher'
|
destination-repository-name: 'web-flasher'
|
||||||
target-branch: btclock
|
target-branch: main
|
||||||
user-name: ${{github.actor}}
|
user-name: ${{github.actor}}
|
||||||
user-email: ${{github.actor}}@users.noreply.github.com
|
user-email: ${{github.actor}}@users.noreply.github.com
|
||||||
|
|
Loading…
Reference in a new issue