Skip to content

Commit

Permalink
continue
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneSchmitz committed Dec 1, 2023
1 parent 7d0aedb commit d18ebbe
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/copy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# Chemin du fichier source (à ajuster selon votre dépôt)
SOURCE_FILE=".github/workflows/install.sh"

# Chemin de destination dans le répertoire stage-install
DESTINATION_DIR="${{ github.workspace }}/${{ inputs.custom-pi-gen-dir }}/stage-install"

# Copie du fichier
cp $SOURCE_FILE $DESTINATION_DIR
2 changes: 2 additions & 0 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ jobs:
pre-release:
runs-on: ubuntu-latest
steps:
- run: .github/workflows/copy.sh
- uses: usimd/pi-gen-action@v1
with:
image-name: ucia
Expand All @@ -19,6 +20,7 @@ jobs:
release: buster
wpa-essid: 'ucia'
wpa-password : 'rosa-ucia'
stage: stage0 stage1 stage2 stage3 stage4 stage-install
- uses: actions/upload-artifact@v3
with:
name: ucia
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

sed -i 's/stable\/updates/stable-security\/updates/' /etc/apt/sources.list

0 comments on commit d18ebbe

Please sign in to comment.