BlueGit

timfa frameworkv3

Files

frameworkv3 / .gitlab-ci.yml

.gitlab-ci.yml

autobuild on gitlab
timfa Tim · pushed by timfa · 2 years ago
59d178e7 History
.gitlab-ci.yml 620 B Download Raw
1# .gitlab-ci.yml
2
3# Define stages for the pipeline
4stages:
5 - deploy
6
7# Define a job that runs when something is pushed to the master branch
8deploy_job:
9 stage: deploy
10 script:
11 - apt-get update -qy
12 # - apt-get install -y lftp
13 - chmod +x ./glbuild.sh # Ensure the script is executable
14 - ./glbuild.sh # Execute the script
15 #werkt nog niet# - lftp -c "open -u 300889,25Up3uwb! sftp://sftp.timfalken.com; mirror -R js /public/sites/projects.timfalken.com/frameworkv3"
16 artifacts:
17 paths:
18 - js/framework.js
19 only:
20 - master # Run this job only when changes are pushed to the master branch