return to original to double check if it build branch pushes separately from PRs or not

Signed-off-by: Adam Hill <adam@diginc.us>
This commit is contained in:
Adam Hill 2020-07-17 21:41:57 -05:00
parent 28bec77984
commit d96a7fe887
1 changed files with 3 additions and 3 deletions

View File

@ -32,20 +32,20 @@ jobs:
echo "Building ${ARCH}-${DEBIAN_VERSION}"
./gh-actions-test.sh
- name: Push the ARCH image
if: github.repository == 'pi-hole/docker-pi-hole'
if: github.event_name != 'pull_request'
run: |
. gh-actions-vars.sh
echo "${{ secrets.DOCKERHUB_PASS }}" | docker login --username="${{ secrets.DOCKERHUB_USER }}" --password-stdin
docker push "${ARCH_IMAGE}"
- name: Upload gh-workspace
if: github.repository == 'pi-hole/docker-pi-hole'
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v1
with:
name: gh-workspace
path: .gh-workspace
publish:
if: github.repository == 'pi-hole/docker-pi-hole'
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
needs: test-and-build
steps: