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 3d9921e commit 95df111
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
with:
node-version: '16'

- name: Set up environment variables
run: echo "VITE_API_GKEY=${{ secrets.VITE_API_GKEY }}" >> $GITHUB_ENV

- name: Build Project
env:
API_KEY: ${{ secrets.VITE_API_GKEY }}
run: |
npm install
API_KEY=${API_KEY} npm run build
npm run build
- name: FTP Deploy Locaweb
uses: locaweb/ftp-deploy@1.0.0
Expand All @@ -30,3 +31,4 @@ jobs:
password: ${{ secrets.PASS }}
localDir: ./dist/
remoteDir: public_html
args: -P 21 -e "set ftp:ssl-allow false" --delete

0 comments on commit 95df111

Please sign in to comment.