Skip to content

[ci] list yarn output #30

[ci] list yarn output

[ci] list yarn output #30

name: Deploy Zodiac Server
on:
push:
branches:
- dev_hari
- dev-fan
- dev_mario
- dev_fang
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build React App
run:|

Check failure on line 23 in .github/workflows/build-deploy-zodiac.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-deploy-zodiac.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
yarn build
ls -l
- name: Determine Branch Name
id: get_branch
run: echo "BRANCH_NAME=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV
- name: Copy package to server
uses: NeuroJSON/[email protected]
with:
server: ${{ secrets.NEUROJ_SERVER }}
username: ${{ secrets.NEUROJ_SERVER_USER }}
ssh_private_key: ${{ secrets.NEUROJ_SERVER_SSH_KEY }}
local_path: "./build/*"
remote_path: "${{ secrets.NEUROJ_CI_PATH }}/${{ env.BRANCH_NAME }}"