From eb5176506cc22bbdcc30ded6ec3e2154744dd9c4 Mon Sep 17 00:00:00 2001 From: Jonas Vautherin Date: Wed, 10 Feb 2021 16:24:34 +0100 Subject: [PATCH] Fix conditional to deploy from master branch --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cdcbe7b..53164aa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -50,7 +50,7 @@ jobs: - name: test run: make ${{ matrix.arch_name }}.test - name: deploy - if: github.ref == 'master' + if: github.ref == 'refs/heads/master' run: | docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} docker image push dockcross/${{ matrix.arch_name }}