test/user-journey #3
+2
-1
@@ -161,7 +161,7 @@ steps:
|
|||||||
- release/**
|
- release/**
|
||||||
|
|
||||||
archive-to-main:
|
archive-to-main:
|
||||||
image: alpine/git:latest
|
image: node:20-alpine
|
||||||
environment:
|
environment:
|
||||||
SSH_PRIVATE_KEY:
|
SSH_PRIVATE_KEY:
|
||||||
from_secret: ssh_private_key
|
from_secret: ssh_private_key
|
||||||
@@ -169,6 +169,7 @@ steps:
|
|||||||
- build-and-deploy
|
- build-and-deploy
|
||||||
commands:
|
commands:
|
||||||
- echo "Archiving to main branch"
|
- echo "Archiving to main branch"
|
||||||
|
- apk add --no-cache git openssh-client
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
- chmod 600 ~/.ssh/id_rsa
|
||||||
|
|||||||
Reference in New Issue
Block a user