From 44c36e9929f8729fb653cc31f9d81e6bca8b78ca Mon Sep 17 00:00:00 2001 From: Artem Bulgakov Date: Thu, 21 Nov 2024 19:39:33 +0300 Subject: [PATCH] ci: specify github runner to use --- .github/workflows/build-docker-api.yaml | 4 ++-- .github/workflows/build-docker-bot.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-docker-api.yaml b/.github/workflows/build-docker-api.yaml index 1f79c29..3f6c4dc 100644 --- a/.github/workflows/build-docker-api.yaml +++ b/.github/workflows/build-docker-api.yaml @@ -1,4 +1,4 @@ -name: Build and publish a Docker image +name: [API] Build and publish a Docker image on: # Allow manual trigger of the workflow @@ -63,7 +63,7 @@ jobs: if: github.repository_owner == 'one-zero-eight' && (github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')) name: Deploy to server for ${{ github.event.inputs.environment || 'staging' }} needs: build-and-push-image - runs-on: self-hosted + runs-on: [self-hosted, innohassle] environment: # Set the environment name and URL to be displayed in GitHub name: ${{ github.event.inputs.environment || 'staging' }} diff --git a/.github/workflows/build-docker-bot.yaml b/.github/workflows/build-docker-bot.yaml index 96eb121..9de967d 100644 --- a/.github/workflows/build-docker-bot.yaml +++ b/.github/workflows/build-docker-bot.yaml @@ -1,4 +1,4 @@ -name: Build and publish a Docker image +name: [Bot] Build and publish a Docker image on: # Allow manual trigger of the workflow @@ -63,7 +63,7 @@ jobs: if: github.repository_owner == 'one-zero-eight' && (github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')) name: Deploy to server for ${{ github.event.inputs.environment || 'staging' }} needs: build-and-push-image - runs-on: self-hosted + runs-on: [self-hosted, innohassle] environment: # Set the environment name and URL to be displayed in GitHub name: ${{ github.event.inputs.environment || 'staging' }}