Skip to content

Commit d4bf7f8

Browse files
committed
Fizup
1 parent dfcb7ee commit d4bf7f8

File tree

2 files changed

+10
-18
lines changed

2 files changed

+10
-18
lines changed

.github/actions/aur-publish/entrypoint.sh

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,35 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
echo "::group::Debug"
5-
env
6-
whoami
7-
pwd
8-
ls -la .
9-
ls -la /home
10-
ls -la /home/app
11-
echo "::endgroup::"
4+
cd /home/app
125

136
echo "::group::Configuring SSH"
14-
mkdir -p /home/app/.ssh
7+
mkdir -p ./.ssh
158

16-
cat > /home/app/.ssh/aur <<EOM
9+
cat > ./.ssh/aur <<EOM
1710
$SSH_PRIVATE_KEY
1811
EOM
1912

20-
cat > /home/app/.ssh/config <<'EOM'
13+
cat > ./.ssh/config <<'EOM'
2114
Host aur.archlinux.org
2215
IdentityFile ~/.ssh/aur
2316
User aur
2417
EOM
2518

26-
cat > /home/app/.ssh/known_hosts <<'EOM'
19+
cat > ./.ssh/known_hosts <<'EOM'
2720
aur.archlinux.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEuBKrPzbawxA/k2g6NcyV5jmqwJ2s+zpgZGZ7tpLIcN
2821
aur.archlinux.org ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDKF9vAFWdgm9Bi8uc+tYRBmXASBb5cB5iZsB7LOWWFeBrLp3r14w0/9S2vozjgqY5sJLDPONWoTTaVTbhe3vwO8CBKZTEt1AcWxuXNlRnk9FliR1/eNB9uz/7y1R0+c1Md+P98AJJSJWKN12nqIDIhjl2S1vOUvm7FNY43fU2knIhEbHybhwWeg+0wxpKwcAd/JeL5i92Uv03MYftOToUijd1pqyVFdJvQFhqD4v3M157jxS5FTOBrccAEjT+zYmFyD8WvKUa9vUclRddNllmBJdy4NyLB8SvVZULUPrP3QOlmzemeKracTlVOUG1wsDbxknF1BwSCU7CmU6UFP90kpWIyz66bP0bl67QAvlIc52Yix7pKJPbw85+zykvnfl2mdROsaT8p8R9nwCdFsBc9IiD0NhPEHcyHRwB8fokXTajk2QnGhL+zP5KnkmXnyQYOCUYo3EKMXIlVOVbPDgRYYT/XqvBuzq5S9rrU70KoI/S5lDnFfx/+lPLdtcnnEPk=
2922
aur.archlinux.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLMiLrP8pVi5BFX2i3vepSUnpedeiewE5XptnUnau+ZoeUOPkpoCgZZuYfpaIQfhhJJI5qgnjJmr4hyJbe/zxow=
3023
EOM
3124

32-
chmod 700 /home/app/.ssh
33-
chmod 600 /home/app/.ssh/{aur,config}
34-
chmod 644 /home/app/.ssh/known_hosts
25+
chmod 700 ./.ssh
26+
chmod 600 ./.ssh/{aur,config}
27+
chmod 644 ./.ssh/known_hosts
3528
echo "::endgroup::"
3629

3730
echo "::group::Cloning repository"
38-
git clone "ssh://aur@aur.archlinux.org/$PKGNAME.git" .
31+
git clone "ssh://aur@aur.archlinux.org/$PKGNAME.git" "$PKGNAME"
32+
cd "$PKGNAME"
3933
echo "::endgroup::"
4034

4135
echo "::group::Update PKGBUILD and .SRCINFO"

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ jobs:
5353
if: ${{ needs.release.outputs.published == 'true' }}
5454

5555
runs-on: ubuntu-latest
56-
container:
57-
image: "archlinux:base"
5856

5957
steps:
6058
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)