Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasATS committed Jan 16, 2024
1 parent 66b1a9c commit 2f2eeef
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ jobs:
- name: Install dependencies
run: npm install

- name: Create .env file
run: |
echo "SECRETKEY=${{secrets.SECRETKEY}}" > .env
echo "HOST=${{secrets.HOST}}" >> .env
echo "PORT=${{secrets.PORT}}" >> .env
echo "DATABASE=${{secrets.DATABASE}}" >> .env
echo "USER=${{secrets.USER}}" >> .env
echo "PASS=${{secrets.PASS}}" >> .env
echo "HOST_DB=${{secrets.HOST_DB}}" >> .env
echo "PORT_DB=${{secrets.PORT_DB}}" >> .env
# - name: Create .env file
# run: |
# echo "SECRETKEY=${{secrets.SECRETKEY}}" > .env
# echo "HOST=${{secrets.HOST}}" >> .env
# echo "PORT=${{secrets.PORT}}" >> .env
# echo "DATABASE=${{secrets.DATABASE}}" >> .env
# echo "USER=${{secrets.USER}}" >> .env
# echo "PASS=${{secrets.PASS}}" >> .env
# echo "HOST_DB=${{secrets.HOST_DB}}" >> .env
# echo "PORT_DB=${{secrets.PORT_DB}}" >> .env

- name: Start server
run: npm run server

0 comments on commit 2f2eeef

Please sign in to comment.