string fixes for GitHub

This commit is contained in:
dvoraen 2022-12-01 14:10:23 -08:00
parent dfa93e9206
commit 9868347825
2 changed files with 12 additions and 12 deletions

View file

@ -95,7 +95,7 @@ jobs:
# it's also not critical if pushing to either service fails (happens for PRs since env is not
# available outside of the evennia org)
- name: Send data to Coveralls
if: ${{ matrix.coverage-test && (github.ref == "refs/heads/master" || github.ref == "refs/heads/develop") }}
if: ${{ matrix.coverage-test && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop') }}
continue-on-error: true
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
@ -107,7 +107,7 @@ jobs:
name: Deploy Docker Image
needs: test
runs-on: ubuntu-latest
if: ${{ github.repository == "evennia/evennia" }}
if: ${{ github.repository == 'evennia/evennia' }}
steps:
- uses: actions/checkout@v3
@ -118,14 +118,14 @@ jobs:
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
if: ${{ github.ref == "refs/heads/master" || github.ref == "refs/heads/develop" }}
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' }}
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push for master
if: ${{ github.ref == "refs/heads/master" }}
if: ${{ github.ref == 'refs/heads/master' }}
id: docker_build_master
uses: docker/build-push-action@v3
with:
@ -133,7 +133,7 @@ jobs:
tags: evennia/evennia:latest
- name: Build and push for develop
if: ${{ github.ref == "refs/heads/develop" }}
if: ${{ github.ref == 'refs/heads/develop' }}
id: docker_build_develop
uses: docker/build-push-action@v3
with: