This commit is contained in:
18
Taskfile.yml
Normal file
18
Taskfile.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
# https://taskfile.dev
|
||||
|
||||
version: '3'
|
||||
|
||||
vars:
|
||||
GREETING: Hello, World!
|
||||
|
||||
tasks:
|
||||
default:
|
||||
cmds:
|
||||
- echo "{{.GREETING}}"
|
||||
silent: true
|
||||
deploy:
|
||||
cmds:
|
||||
- vendor/bin/dep deploy
|
||||
build:
|
||||
cmds:
|
||||
- vendor/bin/dep build
|
||||
@@ -11,7 +11,9 @@ hosts:
|
||||
|
||||
tasks:
|
||||
build:
|
||||
- run: uptime
|
||||
- cd: "/var/www/html/ikea/current"
|
||||
- run: "npm install"
|
||||
- run: "npm run build"
|
||||
|
||||
after:
|
||||
deploy:failed: deploy:unlock
|
||||
|
||||
Reference in New Issue
Block a user