Skip to content

fix(workflows/deploy-all-domains): fix missing job name #3

fix(workflows/deploy-all-domains): fix missing job name

fix(workflows/deploy-all-domains): fix missing job name #3

name: Deploy to All Domains
on:
push:
branches: main-ccns.2021
schedule:
- cron: "15 21 * * Wed,Sun"
jobs:
deploy-all:
strategy:
fail-fast: false
matrix:
include:
- inputs:
CNAME: 'term.ccns.cc'
DEFAULT_SITE: 'wsstelnet://ws.ccns.cc/bbs'
DEV_PROXY_TARGET: 'https://ws.ccns.cc'
DEV_PROXY_HEADER: 'https://term.ccns.cc'
secrets:
deploy-token: ${{ secrets.GITHUB_TOKEN }}

Check failure on line 19 in .github/workflows/deploy-all-domains.yml

View workflow run for this annotation

GitHub Actions / Deploy to All Domains

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-all-domains.yml (Line: 19, Col: 29): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.GITHUB_TOKEN .github/workflows/deploy-all-domains.yml (Line: 28, Col: 29): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.PTTCHROME_TOKEN
- inputs:
CNAME: 'term.ccns.ncku.edu.tw'
DEFAULT_SITE: 'wsstelnet://ws.ccns.ncku.edu.tw/bbs'
DEV_PROXY_TARGET: 'https://ws.ccns.ncku.edu.tw'
DEV_PROXY_HEADER: 'https://term.ccns.ncku.edu.tw'
deploy-repository-name: '${{ github.repository_owner }}/term.ccns.ncku.edu.tw'
deploy-branch: main
secrets:
deploy-token: ${{ secrets.PTTCHROME_TOKEN }}
uses: ./.github/workflows/deploy-ghpage.yml
with: ${{ matrix.inputs }}
secrets:
deploy-token: ${{ matrix.secrets.deploy-token }}