4360psufix.sh/.gitlab-ci.yml
2022-04-19 03:59:55 +00:00

16 lines
859 B
YAML

shellcheck:
stage: build
script:
- /usr/bin/shellcheck rr4360psu_install.sh
- /usr/bin/shellcheck etc/frontview/support/rr4360psu.sh
push_to_prod:
stage: build
script:
- mkdir -p /home/netgear/web/ntgr.support/public_html/scripts/readynas_os_6/
- cp etc/frontview/support/rr4360psu.sh /home/netgear/web/ntgr.support/public_html/scripts/readynas_os_6/rr4360psu.sh
- cp etc/systemd/system/multi-user.target.wants/rr4360psu.service /home/netgear/web/ntgr.support/public_html/scripts/readynas_os_6/rr4360psu.service
- cp etc/systemd/system/multi-user.target.wants/rr4360psu.timer /home/netgear/web/ntgr.support/public_html/scripts/readynas_os_6/rr4360psu.timer
- cp rr4360psu_install.sh /home/netgear/web/ntgr.support/public_html/scripts/readynas_os_6/rr4360psu_install.sh
only:
- master@readynas-scripts/4360psufix.sh