Skip to content

Commit

Permalink
Prueba creacion de env
Browse files Browse the repository at this point in the history
  • Loading branch information
uo278290 committed May 2, 2022
1 parent b0952fe commit 26a53f5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/asw2122.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16
- name: Create env
run: |
cd restapi
touch .env
echo DATABASE_USER=${{ secrets.DATABASE_USER }} >> .env
echo DATABASE_PASSWORD=${{ secrets.DATABASE_PASSWORD }} >> .env
echo DATABASE_NAME=${{ secrets.DATABASE_NAME }} >> .env
echo JWT_TOKEN=${{ secrets.JWT_TOKEN }} >> .env
cat .env
- run: npm --prefix webapp install
- run: npm --prefix restapi install
- run: npm --prefix webapp run build
Expand Down

0 comments on commit 26a53f5

Please sign in to comment.