diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 335cd9b..954d08c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,17 @@ jobs: name: Buid and Publish CS3APIS runs-on: ubuntu-latest container: cs3org/cs3apis-build:master + steps: steps: + - name: setup-ssh + run: | + mkdir /root/.ssh \j + echo -n "$SSH_KEY" > /root/.ssh/id_rsa \ + shasum /root/.ssh/id_rsa \ + chmod 600 /root/.ssh/id_rsa \ + stat /root/.ssh/id_rsa \ + touch /root/.ssh/known_hosts \ + chmod 600 /root/.ssh/known_hosts \ + ssh-keyscan -H github.com > /etc/ssh/ssh_known_hosts 2> /dev/null - name: build-and-publish run: cs3apis-build -push-go -push-python -push-js -push-node -git-ssh diff --git a/1.txt b/1.txt index a9e2f17..fcb49fa 100644 --- a/1.txt +++ b/1.txt @@ -4,3 +4,4 @@ 1 1 1 +1