👷 Staging from develop branch
All checks were successful
Build and deploy website / build (push) Successful in 2s
All checks were successful
Build and deploy website / build (push) Successful in 2s
This commit is contained in:
@ -4,9 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -17,3 +15,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- name: Run docker-compose
|
||||
run: docker compose up -d --build
|
||||
if: github.ref == 'refs/heads/master'
|
||||
- name: Run docker-compose
|
||||
run: docker compose -f docker-compose-dev.yml up -d --build
|
||||
if: github.ref == 'refs/heads/master'
|
9
docker-compose-dev.yml
Normal file
9
docker-compose-dev.yml
Normal file
@ -0,0 +1,9 @@
|
||||
services:
|
||||
web:
|
||||
container_name: dev.martials.no
|
||||
restart: always
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "4322:4321"
|
Reference in New Issue
Block a user