Skip to content

chore(*): update ci

chore(*): update ci #1

Workflow file for this run

name: deploy
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
uses: actions/setup-node@v3

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

View workflow run for this annotation

GitHub Actions / deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 8, Col: 9): 'uses' is already defined
with:
node-version: '14.x'
- name: Installing
run: yarn install
- name: Building
run: yarn build:demo
- name: Deploying
uses: burnett01/rsync-deployments@7.0.1
with:
switches: -a --delete --progress
path: demo/dist/
remote_path: ${{ secrets.SSH_REMOTE_DIR }}
remote_host: ${{ secrets.SSH_HOST }}
remote_user: ${{ secrets.SSH_USER }}
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}