mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-14 23:22:40 +00:00
-n not recognised in CI env
This commit is contained in:
parent
b19dc62648
commit
c2d4829efb
4
.github/workflows/bonfire.yaml
vendored
4
.github/workflows/bonfire.yaml
vendored
|
@ -153,8 +153,6 @@ jobs:
|
|||
run: mix bonfire.deps.clean
|
||||
- name: Compile deps & app
|
||||
run: mix
|
||||
- name: Set up database
|
||||
run: mix ecto.setup
|
||||
- name: Generate docs
|
||||
run: make doc
|
||||
- name: Deploy docs
|
||||
|
@ -163,6 +161,8 @@ jobs:
|
|||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./docs/exdoc
|
||||
cname: doc.bonfirenetworks.org
|
||||
- name: Set up database
|
||||
run: mix ecto.setup
|
||||
- name: Check that database migrations can rollback
|
||||
run: mix ecto.rollback --all && mix ecto.migrate
|
||||
- name: Run tests
|
||||
|
|
8
Makefile
8
Makefile
|
@ -60,10 +60,10 @@ pre-init:
|
|||
@mkdir -p $(CONFIG_PATH)/prod
|
||||
@mkdir -p $(CONFIG_PATH)/dev
|
||||
@touch $(CONFIG_PATH)/deps.path
|
||||
@cp -n $(CONFIG_PATH)/templates/public.env $(CONFIG_PATH)/dev/ | true
|
||||
@cp -n $(CONFIG_PATH)/templates/public.env $(CONFIG_PATH)/prod/ | true
|
||||
@cp -n $(CONFIG_PATH)/templates/not_secret.env $(CONFIG_PATH)/dev/secrets.env | true
|
||||
@cp -n $(CONFIG_PATH)/templates/not_secret.env $(CONFIG_PATH)/prod/secrets.env | true
|
||||
@cp $(CONFIG_PATH)/templates/public.env $(CONFIG_PATH)/dev/ | true
|
||||
@cp $(CONFIG_PATH)/templates/public.env $(CONFIG_PATH)/prod/ | true
|
||||
@cp $(CONFIG_PATH)/templates/not_secret.env $(CONFIG_PATH)/dev/secrets.env | true
|
||||
@cp $(CONFIG_PATH)/templates/not_secret.env $(CONFIG_PATH)/prod/secrets.env | true
|
||||
|
||||
pre-run:
|
||||
@mkdir -p forks/
|
||||
|
|
Loading…
Reference in a new issue