Commit e5cb4aad authored by akiraohgaki's avatar akiraohgaki

Update .gitlab-ci.yml

parent 9ad48374
Pipeline #369 passed with stage
in 13 seconds
...@@ -2,22 +2,23 @@ stages: ...@@ -2,22 +2,23 @@ stages:
- build - build
- release - release
test-build: project-build:
stage: build stage: build
image: alpine:latest image: alpine
only: only:
- master - master
- /^release\-.+/
script: script:
- echo 'TEST' >> test-$(date +%s).txt - echo 'dummy' >> file-$(date +%s).txt
artifacts: artifacts:
paths: paths:
- test-*.txt - file-*.txt
expire_in: 2 days expire_in: 2 days
test-release: project-release:
stage: release stage: release
image: akiraohgaki/opendesktop-uploader:latest image: akiraohgaki/opendesktop-uploader
only: only:
- master - /^release\-.+/
script: script:
- opendesktop-uploader test-*.txt - opendesktop-uploader file-*.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment