Skip to content

Commit

Permalink
Merge pull request #62 from larslemos/dev-namibia
Browse files Browse the repository at this point in the history
Updated wokrlfow folders, redure redundant CI
  • Loading branch information
larslemos authored Aug 28, 2023
2 parents 9d57e9b + c7c6627 commit bb3dcc6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Validate Configuration

on:
pull_request:
branches: [main]
branches: [demo, dev, working]

push:
branches-ignore: [main, 2.x, 2.3.x, 2.6.x]
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/ohri-namibia-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ on:
push:
branches:
- dev
- main
- working
pull_request:
types: [opened, synchronize, closed]
- demo
- working
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
Expand All @@ -17,6 +15,7 @@ env:
jobs:
build:
runs-on: ubuntu-latest
if: github.event.pull_request.merged
strategy:
matrix:
java: [ '8', '11' ]
Expand Down Expand Up @@ -153,7 +152,8 @@ jobs:
- name: Copy files to /home/runner/
run: |
ls -la -t
cp -r $GITHUB_WORKSPACE/.ssh/ /home/runner/
cp -r $GITHUB_WORKSPACE/.github/.ssh/ /home/runner/
ls -la -t $GITHUB_WORKSPACE/
- name: List contents of /home/runner/
run: ls -la /home/runner/
Expand Down Expand Up @@ -212,11 +212,9 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Wait for 2 minutos - Let Images reflect on Docker Hub
run: sleep 120
- name: Checkout repository
uses: actions/checkout@v3 `
uses: actions/checkout@v3
with:
ref: working

- name: Copy files to /home/runner/
run: |
Expand Down

0 comments on commit bb3dcc6

Please sign in to comment.