fix
This commit is contained in:
parent
3bf166590d
commit
7c6c5bb3a0
1 changed files with 7 additions and 6 deletions
13
.github/workflows/aur.yml
vendored
13
.github/workflows/aur.yml
vendored
|
|
@ -11,6 +11,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: archlinux:base-devel
|
container: archlinux:base-devel
|
||||||
steps:
|
steps:
|
||||||
|
- run: pacman -Sy --noconfirm openssh git
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
|
|
@ -22,12 +24,11 @@ jobs:
|
||||||
env:
|
env:
|
||||||
AUR_SSH_KEY: ${{ secrets.AUR_SSH_KEY }}
|
AUR_SSH_KEY: ${{ secrets.AUR_SSH_KEY }}
|
||||||
run: |
|
run: |
|
||||||
pacman -Sy --noconfirm openssh git
|
mkdir -p /root/.ssh
|
||||||
mkdir -p ~/.ssh
|
echo "$AUR_SSH_KEY" > /root/.ssh/id_ed25519
|
||||||
echo "$AUR_SSH_KEY" > ~/.ssh/id_ed25519
|
chmod 600 /root/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
echo "aur.archlinux.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEuBKrPzbawxA/k2g6NcyV5jmqwJ2s+zpgZGZ7tpLIhd" >> /root/.ssh/known_hosts
|
||||||
echo "aur.archlinux.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEuBKrPzbawxA/k2g6NcyV5jmqwJ2s+zpgZGZ7tpLIhd" >> ~/.ssh/known_hosts
|
git config --global safe.directory '*'
|
||||||
git config --global safe.directory "$GITHUB_WORKSPACE"
|
|
||||||
git config user.name "Barrett Ruth"
|
git config user.name "Barrett Ruth"
|
||||||
git config user.email "barrettruth@gmail.com"
|
git config user.email "barrettruth@gmail.com"
|
||||||
git remote add aur ssh://aur@aur.archlinux.org/sioyek-dev.git
|
git remote add aur ssh://aur@aur.archlinux.org/sioyek-dev.git
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue