Skip to content

Commit a13ad42

Browse files
Added a deploy stage to automate the deployment to the official images repo
1 parent 37f7e2a commit a13ad42

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ addons:
1414

1515
script: ./test-build.sh $NODE_VERSION $VARIANT
1616

17+
stages:
18+
- Test
19+
- Build
20+
- name: Deploy
21+
if: branch = master
22+
1723
jobs:
1824
include:
1925
- stage: Test
@@ -37,6 +43,9 @@ jobs:
3743
packages:
3844
- shellcheck
3945

46+
- stage: Deploy
47+
script: ./generate-stackbrew-library.sh
48+
4049
# Docker Build #
4150
- stage: Build
4251
env:

travis.yml.template

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ addons:
1212

1313
script: ./test-build.sh $NODE_VERSION $VARIANT
1414

15+
stages:
16+
- Test
17+
- Build
18+
- name: Deploy
19+
if: branch = master
20+
1521
jobs:
1622
include:
1723
- stage: Test
@@ -35,4 +41,7 @@ jobs:
3541
packages:
3642
- shellcheck
3743

44+
- stage: Deploy
45+
script: ./generate-stackbrew-library.sh
46+
3847
# Docker Build #

0 commit comments

Comments
 (0)