# .gitlab-ci.yml # Define stages for the pipeline stages: - deploy # Define a job that runs when something is pushed to the master branch deploy_job: stage: deploy script: - apt-get update -qy # - apt-get install -y lftp - chmod +x ./glbuild.sh # Ensure the script is executable - ./glbuild.sh # Execute the script #werkt nog niet# - lftp -c "open -u 300889,25Up3uwb! sftp://sftp.timfalken.com; mirror -R js /public/sites/projects.timfalken.com/frameworkv3" artifacts: paths: - js/framework.js only: - master # Run this job only when changes are pushed to the master branch