Skip to content

Commit

Permalink
wip2
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Iwanicki <[email protected]>
  • Loading branch information
m-iwanicki committed Sep 24, 2024
1 parent 283eea3 commit 8743929
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,18 @@ jobs:
- name: Prepare SSH key
shell: bash
env:
SSH_KEY: ${{secrets.SSH_KEY}}
SSH_KEY_CI_CD: ${{secrets.SSH_KEY_CI_CD}}
run: |
echo -e ${SSH_KEY} > ~/tmp/dts-ci-key
chmod 600 ~/tmp/dts-ci-key
echo -e ${SSH_KEY_CI_CD} > ~/tmp/gitea_dts_release_cicd
chmod 600 ~/tmp/gitea_dts_release_cicd
echo ${SSH_KEY} > ~/tmp/dts-ci-key2
chmod 600 ~/tmp/dts-ci-key2
echo ${SSH_KEY_CI_CD} > ~/tmp/gitea_dts_release_cicd2
chmod 600 ~/tmp/gitea_dts_release_cicd2
echo -e ${SSH_KEY_CI_CD} > ~/.ssh/gitea_dts_release_cicd
chmod 600 ~/.ssh/gitea_dts_release_cicd
echo -e "\n
Host git.3mdeb.com\n
HostName git.3mdeb.com\n
IdentityFile ~/.ssh/gitea_dts_release_cicd\n
IdentitiesOnly yes" > ~/.ssh/config_deploy
- name: Trigger signing
shell: bash
run: |
GIT_SSH_COMMAND='ssh -F ~/.ssh/config_deploy' git clone ssh://[email protected]:2222/3mdeb/dts-release-cicd-pipeline.git
cd dts-release-cicd-pipeline
ls -l .

0 comments on commit 8743929

Please sign in to comment.