Skip to content

echo console log

echo console log #9

Workflow file for this run

name: Deploy to production
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Install pnpm
run: npm install -g pnpm
- run: pnpm install
- run: pnpm -r run build
deploy:
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
app:
- {
name: 'next-auth',
path: './apps/next-auth/dist/',
remote_path: '/var/www/guias/next-auth/',
}
- {
name: 'teste',
path: './apps/teste/dist/',
remote_path: '/var/www/guias/teste/',
}
# Add more apps as needed
steps:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 40
- name: Console log
- name: Console log
run: |
echo ${{ matrix.app.path }}
ls -la
- name: Deploy with rsync
uses: burnett01/[email protected]
with:
switches: -avzr --quiet --delete
path: ${{ matrix.app.path }}
remote_path: ${{ matrix.app.remote_path }}
remote_host: ${{ secrets.HOST }}
remote_user: ${{ secrets.USERNAME }}
remote_key: ${{ secrets.SSH_KEY }}