Browse Source

build: add push command

main
Inhji Y. 8 months ago
parent
commit
28b57660b1
  1. 5
      mix.exs

5
mix.exs

@ -67,8 +67,9 @@ defmodule Mirage.MixProject do
# See the documentation for `Mix` for more info on aliases.
defp aliases do
[
rel: ["git_ops.release"],
deploy: ["cmd bash ./deploy.sh"],
rel: ["git_ops.release --yes"],
push: ["cmd bash ./deploy.sh"],
deploy: ["rel", "push"],
setup: ["deps.get", "ecto.setup", "cmd npm install --prefix assets"],
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
"ecto.reset": ["ecto.drop", "ecto.setup"],

Loading…
Cancel
Save