aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/yandex-cloud-cli-bin.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/yandex-cloud-cli-bin.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/yandex-cloud-cli-bin.yml b/.github/workflows/yandex-cloud-cli-bin.yml
index 5c00c3e..bae680b 100644
--- a/.github/workflows/yandex-cloud-cli-bin.yml
+++ b/.github/workflows/yandex-cloud-cli-bin.yml
@@ -23,14 +23,16 @@ jobs:
${{ secrets.SSH_KEY }}
EOF
chmod 0600 /root/.ssh/id_ed25519
- - name: Configure git
- run: |
- git config --global user.name 'Egor Tensin'
- git config --global user.email 'egor@tensin.name'
- name: Checkout
run: |
git clone -q ssh://aur@aur.archlinux.org/yandex-cloud-cli-bin.git
chmod -R o+w yandex-cloud-cli-bin
+ - name: Configure git
+ run: |
+ # Stupid GitHub Actions sets $HOME to something else other than /root
+ # when using container:, which breaks everything.
+ git -C yandex-cloud-cli-bin config --local user.name 'Egor Tensin'
+ git -C yandex-cloud-cli-bin config --local user.email 'egor@tensin.name'
- name: Run maintenance
run: |
git config --system --add safe.directory "$( pwd )/yandex-cloud-cli-bin"