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:
- build
- release
test-build:
project-build:
stage: build
image: alpine:latest
image: alpine
only:
- master
- /^release\-.+/
script:
- echo 'TEST' >> test-$(date +%s).txt
- echo 'dummy' >> file-$(date +%s).txt
artifacts:
paths:
- test-*.txt
- file-*.txt
expire_in: 2 days
test-release:
project-release:
stage: release
image: akiraohgaki/opendesktop-uploader:latest
image: akiraohgaki/opendesktop-uploader
only:
- master
- /^release\-.+/
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