Skip to content

Commit

Permalink
gpt suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
robertotcestari committed Jun 13, 2024
1 parent b03d321 commit 786cca4
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,40 @@ jobs:
- run: pnpm install
- run: pnpm -r run build

- name: Verify Build Output
run: ls -la ./apps/next-auth/dist/ && ls -la ./apps/teste/dist/

deploy:
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
app:
- name: 'next-auth'
path: './apps/next-auth/dist/'
path: 'apps/next-auth/dist/'
remote_path: '/var/www/guias/next-auth/'
- name: 'teste'
path: './apps/teste/dist/'
path: 'apps/teste/dist/'
remote_path: '/var/www/guias/teste/'
# Add more apps as needed

steps:
- name: Console log
- name: Checkout code
uses: actions/checkout@v4

- name: Print working directory and list files
run: |
echo ${{ matrix.app.path }}
echo "Working directory:"
pwd
echo "Content of repository root:"
ls -la
- name: Print matrix app path and list files in it
run: |
echo "Matrix app path: ${{ matrix.app.path }}"
echo "Contents of the path:"
ls -la ${{ matrix.app.path }}
- name: Deploy with rsync
uses: burnett01/rsync-deployments@5.2
with:
Expand Down

0 comments on commit 786cca4

Please sign in to comment.