forked from BLC/sgeUpdated
Add CI/CD deploy workflows
This commit is contained in:
@@ -27,7 +27,6 @@ jobs:
|
|||||||
docker rm myapp || true
|
docker rm myapp || true
|
||||||
docker build -t myapp:latest .
|
docker build -t myapp:latest .
|
||||||
docker run -d --name myapp -p 3000:3000 myapp:latest
|
docker run -d --name myapp -p 3000:3000 myapp:latest
|
||||||
|
|
||||||
|
|
||||||
deploy_production:
|
deploy_production:
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
|
|||||||
Reference in New Issue
Block a user