diff --git a/.github/workflows/node-red-pkg.yml b/.github/workflows/node-red-pkg.yml index e09a3d6..9cc031f 100644 --- a/.github/workflows/node-red-pkg.yml +++ b/.github/workflows/node-red-pkg.yml @@ -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 diff --git a/.github/workflows/pi-gen.yml b/.github/workflows/pi-gen.yml index 50bb660..d3eec7d 100644 --- a/.github/workflows/pi-gen.yml +++ b/.github/workflows/pi-gen.yml @@ -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