fix(ci): use self-hosted runner label syntax
This commit is contained in:
@@ -12,7 +12,7 @@ on:
|
||||
jobs:
|
||||
ci:
|
||||
name: Lint, Unit Tests & Build
|
||||
runs-on: docker-host
|
||||
runs-on: [self-hosted, docker-host]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: memento-note
|
||||
@@ -119,7 +119,7 @@ Branch: ${{ github.ref_name }}" \
|
||||
name: Deploy production (on server)
|
||||
needs: ci
|
||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||
runs-on: docker-host
|
||||
runs-on: [self-hosted, docker-host]
|
||||
steps:
|
||||
|
||||
- name: Sync deploy scripts on server
|
||||
|
||||
Reference in New Issue
Block a user