ci: add secrets

This commit is contained in:
Nicola Zambello 2022-02-21 16:00:22 +01:00
parent f6e6ede677
commit 73f2f08aef

View file

@ -16,6 +16,11 @@ jobs:
- name: ⬇️ Checkout repo - name: ⬇️ Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Apply secret env
run: |
echo 'DATABASE_URL="file:./prod.db"' > .env
echo 'SESSION_SECRET="${{secrets.SESSION_SECRET}}"' >> .env
- name: ⚒ Install dependencies and build - name: ⚒ Install dependencies and build
run: yarn install && yarn build run: yarn install && yarn build