|
|
@@ -58,14 +58,14 @@ trigger:
|
|
58
|
58
|
|
|
59
|
59
|
steps:
|
|
60
|
60
|
# Test the vue theme
|
|
61
|
|
-- name: check
|
|
62
|
|
- image: node
|
|
63
|
|
- commands:
|
|
64
|
|
- - ls -la ./vue-theme/build
|
|
65
|
|
- volumes:
|
|
66
|
|
- # Link node_modules cache from host filesystem into container at the expected location
|
|
67
|
|
- - name: build
|
|
68
|
|
- path: /drone/src/vue-theme/build
|
|
|
61
|
+- name: push commit
|
|
|
62
|
+ image: appleboy/drone-git-push
|
|
|
63
|
+ settings:
|
|
|
64
|
+ branch: master
|
|
|
65
|
+ remote: git@143.110.234.41:opt/vue-wp.git
|
|
|
66
|
+ force: true
|
|
|
67
|
+ ssh_key:
|
|
|
68
|
+ from_secret: infra_key
|
|
69
|
69
|
|
|
70
|
70
|
volumes:
|
|
71
|
71
|
- name: node_cache
|