From f4e0306d8b9ff4e43a2f78a08e238446bdd6a7a0 Mon Sep 17 00:00:00 2001 From: TCH Date: Thu, 31 Oct 2024 19:17:35 +0100 Subject: [PATCH] Update rpi-img-builder.yaml --- .github/workflows/rpi-img-builder.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rpi-img-builder.yaml b/.github/workflows/rpi-img-builder.yaml index 3d8ea4496..123758593 100644 --- a/.github/workflows/rpi-img-builder.yaml +++ b/.github/workflows/rpi-img-builder.yaml @@ -11,10 +11,9 @@ jobs: steps: - name: fix archiveraspberrypicom run: | - su root - sudo echo "nameserver 1.1.1.1" > /etc/resolv.conf - sudo echo "static domain_name_servers=1.1.1.1 1.0.0.1" >> /etc/dhcpcd.conf - sudo service dhcpcd restart + echo ${{ secrets.USERPWD }} | sudo -S echo "nameserver 1.1.1.1" > /etc/resolv.conf + echo ${{ secrets.USERPWD }} | sudo -S echo "static domain_name_servers=1.1.1.1 1.0.0.1" >> /etc/dhcpcd.conf + echo ${{ secrets.USERPWD }} | sudo -S service dhcpcd restart - name: prepareRASPAP run: |