Update .gitlab-ci.yml file

This commit is contained in:
Late Night Defender 2023-07-30 17:21:52 +00:00
parent baecb2a465
commit cbbfc9e841

View file

@ -22,7 +22,8 @@ build-job: # This job runs in the test stage.
deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
environment: production
script:
- echo "Deploying application..."
- echo "Application successfully deployed."
- podman run --name little-lines -p 8081:80 -d little-lines:$(git log -1 --oneline | awk '{print $1}')
- podman generate systemd little-lines > ~/.config/systemd/user/little-lines.service
- systemctl --user daemon-reload
- systemctl --user enable little-lines