Skip to content

Commit

Permalink
Merge pull request #20 from jiro4989/develop
Browse files Browse the repository at this point in the history
CIでアプリのビルドに失敗しても通過してしまうのを修正
  • Loading branch information
jiro4989 authored Dec 9, 2019
2 parents cb81610 + 1343253 commit 6e1cafa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ jobs:
- uses: actions/checkout@v1
- name: Pull docker image
run: docker pull jiro4989/websh:latest
- name: Build
run: docker-compose -f docker-compose-ci.yml up
- name: Test server
run: docker-compose -f docker-compose-ci.yml run server test -Y
- name: Build server
run: docker-compose -f docker-compose-ci.yml run server
- name: Build front
run: docker-compose -f docker-compose-ci.yml run front
- name: Archive release files
run: |
mkdir -p dist/websh
Expand Down
12 changes: 6 additions & 6 deletions docker-compose-ci.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
version: '3.7'

services:
build_server:
server:
image: jiro4989/websh:latest
volumes:
- "./websh_server:/work"
working_dir: /work
entrypoint:
- nimble
entrypoint: nimble
command:
- build
- -d:release
- -Y

build_front:
front:
image: jiro4989/websh:latest
volumes:
- "./websh_front:/work"
working_dir: /work
entrypoint:
- nimble
entrypoint: nimble
command:
- build
- -Y

0 comments on commit 6e1cafa

Please sign in to comment.