Skip to content

Commit

Permalink
Modifica arquivo gh actions para criara arquivo .env
Browse files Browse the repository at this point in the history
  • Loading branch information
messiasdias committed Jan 16, 2024
1 parent f21f674 commit d4f7e5e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build_and_deploy_ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ jobs:
- name: Install JS dependencies and Build 🔧
run: |
cd ui
echo NODE_ENV=production >> .env
echo VUE_APP_DEV_NAME="${{ github.VUE_APP_DEV_NAME }}" >> .env
echo VUE_APP_BASE_URL="${{ github.VUE_APP_BASE_URL }}" >> .env
echo VUE_APP_API_BASE_URL="${{ github.VUE_APP_API_BASE_URL }}" >> .env
npm install
npm run build
env:
NODE_ENV: production
VUE_APP_DEV_NAME: ${{ github.VUE_APP_DEV_NAME }}
VUE_APP_BASE_URL: ${{ github.VUE_APP_BASE_URL }}
VUE_APP_API_BASE_URL: ${{ github.VUE_APP_API_BASE_URL }}
- name: Deploy on messiasdias.github.io/curriculum 🚀
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit d4f7e5e

Please sign in to comment.