Refactor steps with pipeline

This commit is contained in:
Murtadha 2024-07-14 02:11:30 -04:00
parent c3aa190d3a
commit 06f291ca78

View file

@ -2,7 +2,7 @@
# type: docker
# name: frontend-deployment
pipeline:
steps:
build:
image: node:22
commands:
@ -36,7 +36,7 @@ pipeline:
key:
from_secret: ssh_key
port: 2332
commands:
script:
- cd /home/mnisyif/docker-containers/mnisyif/frontend
- VERSION=$(cat version.txt)
# Build the new Docker image with the current version tag