Tasks and Deployer updates
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
2023-12-30 07:49:00 +01:00
parent 22756f3f31
commit 0a9205ea8b
2 changed files with 21 additions and 1 deletions

18
Taskfile.yml Normal file
View 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

View File

@@ -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