错误:.github/workflows/deploy-manifest.yml (Line: 16, Col: 11): Unexpected value 'token:***'
错误:模板无效。.github/workflows/deploy-manifest.yml (Line: 16, Col: 11): Unexpected value 'token:***'
部署清单.yml
name: deploy-manifests
on:
push:
branches:
- master
paths:
- 'infra/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install doctl
uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- name: Save DigitalOcean kubeconfig
run: doctl kubernetes cluster kubeconfig save ticketing
- run: kubectl apply -f infra/k8s && kubectl apply -f infra/k8s-prod
我已经在存储库级别 Github 下添加了与 yml 中提到的同名的所有秘密。 github 秘密 github 工作流/操作错误
请帮忙解决这个问题。