mirror of
https://github.com/vacp2p/rfc.git
synced 2025-01-12 15:54:30 +00:00
39 lines
627 B
Plaintext
39 lines
627 B
Plaintext
|
pipeline {
|
||
|
agent {
|
||
|
dockerfile {
|
||
|
label 'linux'
|
||
|
dir 'ci'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
options {
|
||
|
disableConcurrentBuilds()
|
||
|
buildDiscarder(logRotator(
|
||
|
numToKeepStr: '20',
|
||
|
daysToKeepStr: '30',
|
||
|
))
|
||
|
}
|
||
|
|
||
|
environment {
|
||
|
GIT_COMMITTER_NAME = 'status-im-auto'
|
||
|
GIT_COMMITTER_EMAIL = 'auto@status.im'
|
||
|
GIT_SSH_COMMAND = 'ssh -o StrictHostKeyChecking=no'
|
||
|
}
|
||
|
|
||
|
stages {
|
||
|
stage('Build') {
|
||
|
steps {
|
||
|
sh 'hugo'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
stage('Publish Prod') {
|
||
|
steps {
|
||
|
sshagent(credentials: ['status-im-auto-ssh']) {
|
||
|
sh 'ghp-import -p public'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|