Skip to content

Commit

Permalink
updating env for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Aug 16, 2024
1 parent de3e629 commit 0b30b79
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/node-red-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
run: |
mkdir -p .debpkg/home/node-red/.node-red
ls -al
cp shared_files/node-red/aryaos_flows.json .debpkg/home/node-red/.node-red/flows.json
ls -alR shared_files/node-red
cp ./shared_files/node-red/aryaos_flows.json .debpkg/home/node-red/.node-red/flows.json
# create DEBIAN directory if you want to add other pre/post scripts
mkdir -p .debpkg/DEBIAN
echo -e "chown node-red:node-red /home/node-red/.node-red/flows.json" > .debpkg/DEBIAN/postinst
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/pi-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@ jobs:
with:
path: pi-gen/

- name: Set env
run: egrep -vi '(^#|^export|^$)' pi-gen/config >> $GITHUB_ENV
# - name: Set env
# run: egrep -vi '(^#|^export|^$)' pi-gen/config >> $GITHUB_ENV

- name: Echo env variables
run: env
# - name: Echo env variables
# run: env

- name: Build AryaOS image
uses: usimd/pi-gen-action@v1
# set an environment variable for SHARED_FILES
env:
SHARED_FILES: ${{ github.workspace }}/shared_files
with:
pi-gen-dir: pi-gen-src
# Disable the renaming of the first user during the first boot. This make it so
Expand Down

0 comments on commit 0b30b79

Please sign in to comment.