Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaslangsch authored Jul 23, 2023
1 parent 130e957 commit 115be70
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3


- name: Use Node.js 16
uses: actions/setup-node@v2
with:
node-version: '16'

- name: Build Project
run: |
npm install
npm run build
- name: FTP Deploy Locaweb
uses: locaweb/ftp-deploy@1.0.0
with:
host: ${{ secrets.HOST }}
user: ${{ secrets.USER }}
password: ${{ secrets.PASS }}
localDir: ./frontend
localDir: ./frontend/dist
remoteDir: public_html

0 comments on commit 115be70

Please sign in to comment.