We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77b019f commit 501dd27Copy full SHA for 501dd27
.github/workflows/post_push.yml
@@ -13,8 +13,7 @@ jobs:
13
- name: Sync git.ruby-lang.org
14
run: |
15
mkdir -p ~/.ssh
16
- echo "$RUBY_GIT_SYNC_PRIVATE_KEY" > ~/.ssh/id_ed25519
17
- chmod 600 ~/.ssh/id_ed25519
+ (umask 066; printenv RUBY_GIT_SYNC_PRIVATE_KEY > ~/.ssh/id_ed25519)
18
ssh-keyscan -t ed25519 git.ruby-lang.org >> ~/.ssh/known_hosts
19
ssh -i ~/.ssh/id_ed25519 git-sync@git.ruby-lang.org "sudo -u git /home/git/git.ruby-lang.org/bin/update-ruby.sh $GITHUB_REF"
20
env:
0 commit comments