Skip to content

Commit 22502d5

Browse files
author
Tomasz Żyjewski
committed
workflows: save gitea key in correct format
Signed-off-by: Tomasz Żyjewski <tomasz.zyjewski@3mdeb.com>
1 parent a25858c commit 22502d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
echo -e ${SSH_KEY} | sed 's/^ *//' > ~/.ssh/dts-ci-key
3535
chmod 600 ~/.ssh/dts-ci-key
36-
echo ${SSH_KEY_GITEA} > ~/.ssh/gitea-key
36+
echo ${SSH_KEY_GITEA} | sed 's/^ *//' > ~/.ssh/gitea-key
3737
chmod 600 ~/.ssh/gitea-key
3838
cp ~/.ssh/config ~/.ssh/config-old
3939
echo -e "\n

.github/workflows/develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: |
3434
echo -e ${SSH_KEY} | sed 's/^ *//' > ~/.ssh/dts-ci-key
3535
chmod 600 ~/.ssh/dts-ci-key
36-
echo ${SSH_KEY_GITEA} > ~/.ssh/gitea-key
36+
echo ${SSH_KEY_GITEA} | sed 's/^ *//' > ~/.ssh/gitea-key
3737
chmod 600 ~/.ssh/gitea-key
3838
cp ~/.ssh/config ~/.ssh/config-old
3939
echo -e "\n

0 commit comments

Comments
 (0)