File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 102
102
- name : GitHub Deploy Webhook | Allow user to restart github-bot
103
103
lineinfile : " dest=/etc/sudoers state=present regexp='^{{ server_user }}' line='{{ server_user }} ALL=(ALL) NOPASSWD: /bin/systemctl restart github-bot'"
104
104
tags : deploy-webhook
105
+
106
+ - name : Runtime dependencies | Clone node repo
107
+ become : yes
108
+ become_user : " {{ server_user }}"
109
+ git : repo=https://github.com/nodejs/node.git dest="/home/{{ server_user }}/repos/node"
110
+ tags : runtime-dependencies
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ required_dirs:
8
8
- config
9
9
- environment
10
10
- logs
11
-
11
+ - repos
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ TRAVIS_TOKEN={{envs.travis_token}}
4
4
GITHUB_TOKEN={{envs.github_token}}
5
5
GITHUB_WEBHOOK_SECRET={{envs.github_webhook_secret}}
6
6
LOGIN_CREDENTIALS={{envs.login_credentials}}
7
+ NODE_REPO_DIR=/home/{{server_user}}/repos/node
You can’t perform that action at this time.
0 commit comments