Skip to content

fix ci if ssh is not set up #190

fix ci if ssh is not set up

fix ci if ssh is not set up #190

Triggered via push December 25, 2024 19:17
Status Startup failure
Total duration
Artifacts

deploy.yml

on: push
Matrix: build
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

1 error
Invalid workflow file: .github/workflows/deploy.yml#L104
The workflow is not valid. .github/workflows/deploy.yml (Line: 104, Col: 13): Unrecognized named-value: 'secrets'. Located at position 38 within expression: github.ref == 'refs/heads/master' && secrets.SSH_KEY != '' && secrets.SERVER_USER != '' && secrets.SERVER_ADDR != '' && secrets.SERVER_PATH != '' .github/workflows/deploy.yml (Line: 116, Col: 13): Unrecognized named-value: 'secrets'. Located at position 38 within expression: github.ref == 'refs/heads/master' && secrets.SSH_KEY != '' && secrets.SERVER_USER != '' && secrets.SERVER_ADDR != '' && secrets.SERVER_PATH != ''