From 0660e5d10b6ef37984393a57a75ab0edb5b47fdc Mon Sep 17 00:00:00 2001 From: Griatch Date: Sat, 3 Dec 2022 19:29:04 +0100 Subject: [PATCH] Make docker images build off main branch --- .github/workflows/github_action_test_suite.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github_action_test_suite.yml b/.github/workflows/github_action_test_suite.yml index b8305cfd74..685b242e91 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -107,7 +107,7 @@ jobs: name: Deploy Docker Image needs: test runs-on: ubuntu-latest - if: ${{ github.repository == 'evennia/evennia' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop') }} + if: ${{ github.repository == 'evennia/evennia' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop') }} steps: - uses: actions/checkout@v3 @@ -123,9 +123,9 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push for master - if: ${{ github.ref == 'refs/heads/master' }} - id: docker_build_master + - name: Build and push for main + if: ${{ github.ref == 'refs/heads/main' }} + id: docker_build_main uses: docker/build-push-action@v3 with: push: true