Skip to content

fix: deploy.yml

fix: deploy.yml #8

Workflow file for this run

name: Trigger Web Deploy
on:
push:
branches:
- develop
jobs:
trigger-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Trigger Deploy
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GIT_ACCESS_TOKEN }}
repository: team-b1nd/dodam-web-deploy-config
event-type: trigger-deploy
client-payload: |

Check failure on line 22 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Trigger Web Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 22, Col: 27): Unexpected symbol: '|'. Located at position 21 within expression: secrets.CONFIG_JSON | toJson | base64
{
"repo_name": "${{ github.repository }}",
"branch": "${{ github.ref }}",
"source_directory": "./build",
"destination_directory": "/dodam/myinfo",
"config_secret": "${{ secrets.CONFIG_JSON | toJson | base64 }}"
}