diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index e8cab39..4eb97d9 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -7,7 +7,7 @@ on: branches: - master - "*" - - '!gh-pages' + - "!gh-pages" jobs: build_and_test: @@ -34,7 +34,6 @@ jobs: target key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - name: configure GPG key if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/librepages' run: echo -n "$RELEASE_BOT_GPG_SIGNING_KEY" | gpg --batch --import --pinentry-mode loopback @@ -61,7 +60,11 @@ jobs: - name: run tests run: make test - - name: build and publish docker images + - name: make docker images + run: make docker + + - name: publish docker images + if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/librepages' run: make docker-publish - name: publish bins