refactorings
This commit is contained in:
parent
837721fd7b
commit
34283555a1
@ -25,7 +25,7 @@ build:package:
|
|||||||
# create build directory for .deb sources
|
# create build directory for .deb sources
|
||||||
- mkdir build
|
- mkdir build
|
||||||
# copy install instructions
|
# copy install instructions
|
||||||
- cp -r DEBIAN build/
|
- cp -r .DEBIAN build/DEBIAN
|
||||||
# copy app into "/usr/share/fastapi-dls" as "/usr/share/fastapi-dls/app" & copy README.md and version.env
|
# copy app into "/usr/share/fastapi-dls" as "/usr/share/fastapi-dls/app" & copy README.md and version.env
|
||||||
- mkdir -p build/usr/share/fastapi-dls
|
- mkdir -p build/usr/share/fastapi-dls
|
||||||
- cp -r app build/usr/share/fastapi-dls
|
- cp -r app build/usr/share/fastapi-dls
|
||||||
@ -127,7 +127,7 @@ deploy:debian:
|
|||||||
rules:
|
rules:
|
||||||
#- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
#- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
- changes:
|
- changes:
|
||||||
- DEBIAN/**/*
|
- .DEBIAN/**/*
|
||||||
- app/**/*
|
- app/**/*
|
||||||
needs:
|
needs:
|
||||||
- job: build:package
|
- job: build:package
|
||||||
|
Loading…
Reference in New Issue
Block a user