ci: add secrets
This commit is contained in:
parent
f6e6ede677
commit
73f2f08aef
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue