mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-07 16:00:31 -05:00
ci: render
Rendered by https://gitlab.com/developerdurp/yml/-/pipelines/1234689864
This commit is contained in:
parent
a0e2715e44
commit
1b63d7c6c7
2 changed files with 23 additions and 1 deletions
|
|
@ -14,3 +14,25 @@
|
|||
expire_in: 1 hour
|
||||
paths:
|
||||
- $CI_PROJECT_DIR/output
|
||||
.gitlab-deploy:
|
||||
stage: deploy
|
||||
image: mcr.microsoft.com/powershell:latest
|
||||
script:
|
||||
# Begin of movefiles.sh
|
||||
- |
|
||||
#move files to output
|
||||
mkdir $CI_PROJECT_DIR/output
|
||||
for i in $(echo $PROJECT_NAME | tr ";" "\n");
|
||||
do mkdir $CI_PROJECT_DIR/output/$i;
|
||||
cp -r $CI_PROJECT_DIR/$i $CI_PROJECT_DIR/output/;
|
||||
done
|
||||
# End of movefiles.sh
|
||||
environment:
|
||||
name: production
|
||||
url: https://api.durp.info/goapi
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/'
|
||||
when: manual
|
||||
needs:
|
||||
- job: version
|
||||
artifacts: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue