Update pipeline and markdown snippets
This commit is contained in:
@@ -24,23 +24,31 @@ type: docker
|
||||
name: build
|
||||
|
||||
steps:
|
||||
- name: pandoc
|
||||
image: fastexitlane/pandoc-latex:latest
|
||||
commands:
|
||||
- ./build.sh pandoc
|
||||
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
base_url: https://git.kingofdog.de
|
||||
files:
|
||||
- main.pdf
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
- name: pandoc
|
||||
image: fastexitlane/pandoc-latex:latest
|
||||
commands:
|
||||
- ./build.sh pandoc
|
||||
- ci_commit_sha_short=`git rev-parse --short $CI_COMMIT_SHA`
|
||||
- mv out/main.pdf "$(date +"%F-%H-%M")_$DRONE_REPO_NAME.pdf"
|
||||
- name: upload
|
||||
image: plugins/s3
|
||||
settings:
|
||||
bucket: praxisarbeit-artifacts
|
||||
access_key:
|
||||
from_secret: minio_access_key
|
||||
secret_key:
|
||||
from_secret: minio_secret_key
|
||||
source: ./*.pdf
|
||||
region: eu-dogland
|
||||
target: /version-${DRONE_BRANCH}-${DRONE_BUILD_NUMBER}
|
||||
path_style: true
|
||||
endpoint: https://minio.kingofdog.de
|
||||
- name: release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
base_url: https://git.kingofdog.de
|
||||
files: ./*.pdf
|
||||
when:
|
||||
event: tag
|
Reference in New Issue
Block a user