Skip to content

test (#10)

test (#10) #14

Workflow file for this run

name: Clone or pull repository
on:
push:
branches:
- prod
jobs:
build:
name: Run remote SSH command
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm install dotenv
- name: Load environment variables from .env file
run: |
source .env.prod
- name: Print environment variable
run: echo ${PAYLOAD_URL}
- name: Trigger build via ssh
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.KEY }}
script: |

Check failure on line 27 in .github/workflows/push.yml

View workflow run for this annotation

GitHub Actions / Clone or pull repository

Invalid workflow file

The workflow is not valid. .github/workflows/push.yml (Line: 27, Col: 19): Unrecognized named-value: 'PAYLOAD_URL'. Located at position 1 within expression: PAYLOAD_URL
echo ${{ PAYLOAD_URL }}
echo ${PAYLOAD_URL}
echo $PAYLOAD_URL