mirror of
https://github.com/kou029w/daraz-tek.beta.fogtype.com.git
synced 2025-01-17 23:55:10 +00:00
18 lines
265 B
Makefile
18 lines
265 B
Makefile
REMOTE_HOST := $(notdir $(shell pwd -L))
|
|
|
|
.PHONY: help
|
|
help:
|
|
@cat README.md
|
|
|
|
.PHONY: install
|
|
install:
|
|
ssh $(REMOTE_HOST) <$@
|
|
|
|
.PHONY: deploy
|
|
deploy:
|
|
ssh $(REMOTE_HOST) <$@
|
|
|
|
.env:
|
|
touch $@
|
|
chmod 600 $@
|
|
@echo POSTGRES_PASSWORD=$(shell openssl rand -hex 32) >$@
|