2022-06-18 20:04:26 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -o errexit -o pipefail -o nounset
|
|
|
|
|
|
|
|
echo '::group::Initializing SSH directory'
|
|
|
|
mkdir -pv /home/build/.ssh
|
|
|
|
touch /home/build/.ssh/known_hosts
|
|
|
|
cp -v /ssh_config /home/build/.ssh/config
|
|
|
|
chown -vR build:build /home/build
|
|
|
|
chmod -vR 600 /home/build/.ssh/*
|
|
|
|
echo '::endgroup::'
|
|
|
|
|
2023-01-20 16:53:32 +00:00
|
|
|
git config --global --add safe.directory /__w/packages/packages
|
|
|
|
|
2022-06-18 20:06:25 +00:00
|
|
|
exec su -c 'bash -c ./scripts/push-aur.sh' build
|