Skip to content

Commit 145af2d

Browse files
committed
yaml
1 parent e40ffd9 commit 145af2d

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.github/workflows/linux.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,26 @@ jobs:
3636
- name: install reprepro
3737
run: sudo apt-get install -y reprepro
3838
- name: run reprepro
39-
run: |
40-
echo "Importing pubkey..."
41-
cat conf/pubkey.asc | gpg --import --no-tty --batch --yes
42-
echo "Importing seckey..."
43-
echo ${{secrets.GPG_KEY}} | base64 -d | gpg --import --no-tty --batch --yes
44-
echo "Listing public keys..."
45-
gpg --list-keys --with-keygrip
46-
echo "Listing secret keys..."
47-
gpg --list-secret-keys
48-
echo "Resetting gpg-agent and ingesting passphrase"
49-
echo "allow-preset-passphrase" > ~/.gnupg/gpg-agent.conf
50-
gpg-connect-agent RELOADAGENT /bye
51-
echo ${{secrets.GPG_PASSPHRASE}} | /usr/lib/gnupg2/gpg-preset-passphrase --preset 6D05600E91B6B2104C6E291A2072C6F511C291AE
52-
echo "Moving on to reprepro..."
53-
mkdir upload
54-
for file in \*.deb ; do /usr/bin/reprepro includedeb stable $file ; done
55-
39+
run: |
40+
echo "Importing pubkey..."
41+
cat conf/pubkey.asc | gpg --import --no-tty --batch --yes
42+
echo "Importing seckey..."
43+
echo ${{secrets.GPG_KEY}} | base64 -d | gpg --import --no-tty --batch --yes
44+
echo "Listing public keys..."
45+
gpg --list-keys --with-keygrip
46+
echo "Listing secret keys..."
47+
gpg --list-secret-keys
48+
echo "Resetting gpg-agent and ingesting passphrase"
49+
echo "allow-preset-passphrase" > ~/.gnupg/gpg-agent.conf
50+
gpg-connect-agent RELOADAGENT /bye
51+
echo ${{secrets.GPG_PASSPHRASE}} | /usr/lib/gnupg2/gpg-preset-passphrase --preset 6D05600E91B6B2104C6E291A2072C6F511C291AE
52+
echo "Moving on to reprepro..."
53+
mkdir upload
54+
for file in \*.deb ; do /usr/bin/reprepro includedeb stable $file ; done
5655
- name: "Select repo artifacts"
5756
# Select only final repo artifacts
5857
# (this makes reprepro runs stateless)
59-
- run: cp -a dists/ pool/ upload/
58+
run: cp -a dists/ pool/ upload/
6059
- name: upload to blob storage
6160
run: ./blobxfer upload --local-path upload/ --storage-account focusedelgamal --rmote-path '$web'
6261
env:

0 commit comments

Comments
 (0)