Skip to content

Fix runner label from secrets #67

Fix runner label from secrets

Fix runner label from secrets #67

Workflow file for this run

name: deployment
on:
push:
branches: ["master"]
workflow_dispatch:
jobs:
build:
runs-on: "${{ secrets.RUNNER_LABEL }}"

Check failure on line 11 in .github/workflows/deployment.yml

View workflow run for this annotation

GitHub Actions / deployment

Invalid workflow file

The workflow is not valid. .github/workflows/deployment.yml (Line: 11, Col: 14): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.RUNNER_LABEL .github/workflows/deployment.yml (Line: 22, Col: 14): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.RUNNER_LABEL
steps:
- uses: actions/checkout@v3
- name: Build
env:
APP_NAME: ${{ secrets.APP_NAME }}
BASE_URL: ${{ secrets.BASE_URL }}
NODE_ENV: production
run: make build
deploy:
runs-on: "${{ secrets.RUNNER_LABEL }}"
needs: [ build ]
steps:
- name: Deploy
env:
NODE_ENV: production
DOCKER_NETWORK_NAME: ${{ secrets.DOCKER_NETWORK_NAME }}
APP_URLS_TRAEFIK: ${{ secrets.APP_URLS_TRAEFIK }}
DOCKER_INTERNAL_PORT: ${{ secrets.DOCKER_INTERNAL_PORT }}
DOCKER_EXTERNAL_PORT: ${{ secrets.DOCKER_EXTERNAL_PORT }}
LOKI_URL: ${{ secrets.LOKI_URL }}
LOKI_LABELS: ${{ secrets.LOKI_LABELS }}
run: make run