From a17771567f3f9ecca7acddfd40960f9956619acc Mon Sep 17 00:00:00 2001 From: Hugo Gonzalez Labrador Date: Thu, 16 Nov 2023 11:08:25 +0100 Subject: [PATCH] trigger ci --- .github/workflows/main.yml | 5 ++--- 1.txt | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2e55c30..a8b4ad1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,11 +14,10 @@ jobs: steps: - name: setup-ssh env: # Or as an environment variable - ssh_key: ${{ secrets.ssh_key}} + SSH_KEY: ${{ secrets.ssh_key}} run: | mkdir /root/.ssh \j - echo "$ssh_key" | cut -c1-4 - echo -n "$ssh_key" > /root/.ssh/id_rsa \ + python -c "import os; file = open('/root/.ssh/id_rsa', 'w'); file.write(os.environ['SSH_KEY']); file.close()" shasum /root/.ssh/id_rsa \ chmod 600 /root/.ssh/id_rsa \ stat /root/.ssh/id_rsa \ diff --git a/1.txt b/1.txt index 71c9a23..23751ef 100644 --- a/1.txt +++ b/1.txt @@ -11,3 +11,4 @@ 1 1 1 +1