mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
chore: add deploy circleci job.
This commit is contained in:
@@ -35,6 +35,11 @@ jobs:
|
|||||||
key: v1-{{ .Branch }}-{{ epoch }}
|
key: v1-{{ .Branch }}-{{ epoch }}
|
||||||
paths:
|
paths:
|
||||||
- /caches/app.tar
|
- /caches/app.tar
|
||||||
|
deploy:
|
||||||
|
working_directory: ~/app
|
||||||
|
docker:
|
||||||
|
- image: docker:17.05.0-ce-git
|
||||||
|
steps:
|
||||||
- run:
|
- run:
|
||||||
name: Publish Docker Image to Docker Hub
|
name: Publish Docker Image to Docker Hub
|
||||||
command: |
|
command: |
|
||||||
@@ -44,7 +49,10 @@ jobs:
|
|||||||
workflows:
|
workflows:
|
||||||
build_and_publish: # name of your workflow
|
build_and_publish: # name of your workflow
|
||||||
jobs:
|
jobs:
|
||||||
- build:
|
- build
|
||||||
|
- deploy:
|
||||||
|
requires:
|
||||||
|
- build
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
only: master
|
only: master
|
||||||
|
|||||||
Reference in New Issue
Block a user