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