Add .gitlab-ci.yml

This commit is contained in:
Cody Cook 2019-06-12 14:41:09 -07:00
commit b55ed9e08b

14
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,14 @@
shellcheck:
stage: build
script:
- /usr/bin/shellcheck rr4360psu_install.sh
- /usr/bin/shellcheck etc/frontview/support/rr4360psu.sh
push_to_prod:
stage: build
script:
- cp etc/frontview/support/rr4360psu.sh /home/cody/web/ntgr.support/public_html/scripts/readynas_os_6/rr4360psu.sh
- cp etc/frontview/support/rr4360psu.service /home/cody/web/ntgr.support/public_html/scripts/readynas_os_6/rr4360psu.service
- cp etc/frontview/support/rr4360psu.timer /home/cody/web/ntgr.support/public_html/scripts/readynas_os_6/rr4360psu.timer
- cp rr4360psu_install.sh /home/cody/web/ntgr.support/public_html/scripts/readynas_os_6/rr4360psu_install.sh
only:
- master@readynas-scripts/4360psufix.sh