Skip to content

Commit

Permalink
Add dev branch to GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Jan 3, 2020
1 parent 8c692e7 commit d6bb910
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
push:
branches:
- master
- dev
paths:
- ansible/**
- .github/workflows/ansible-lint.yml
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: build

on:
push:
branches:
- dev
schedule:
- cron: '0 2 3 * *'

Expand All @@ -13,7 +16,10 @@ jobs:

steps:
- name: Create Packer cache directory if not already exists
run: test -d /var/tmp/packer_cache || mkdir -v /var/tmp/packer_cache
run: test -d "${PACKER_CACHE_DIR}" || mkdir -v "${PACKER_CACHE_DIR}"

- name: Set BOX_VERSION variable
run: echo "::set-env name=BOX_VERSION::$(date +%Y%m%d).01"

build:
name: "*"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
push:
branches:
- master
- dev
paths:
- '**.md'
- .github/workflows/markdown.yml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/packer-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
push:
branches:
- master
- dev
paths:
- '*.json'
- .github/workflows/packer-templates.yml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
push:
branches:
- master
- dev
paths:
- '**.yml'
- '**.yaml'
Expand Down

0 comments on commit d6bb910

Please sign in to comment.