From a7d5d2932c378554018a0d2b5507f5e20c6aacee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B3=80=EC=A0=95=ED=9B=88?= Date: Fri, 30 Jun 2023 12:04:08 +0900 Subject: [PATCH] ansible patch --- roles/ipcheck/tasks/main.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/roles/ipcheck/tasks/main.yml b/roles/ipcheck/tasks/main.yml index 93dd07a..53f414c 100644 --- a/roles/ipcheck/tasks/main.yml +++ b/roles/ipcheck/tasks/main.yml @@ -4,8 +4,8 @@ args: chdir: /runner/project -- name: git remote add - shell: git remote add origin https://github.com/ByeonJungHun/ipcheck.git +- name: git init + shell: git init args: chdir: /runner/project @@ -19,6 +19,16 @@ args: chdir: /runner/project +- name: git branch + shell: git branch -M main + args: + chdir: /runner/project + +- name: git remote add + shell: git remote add origin https://github.com/ByeonJungHun/ipcheck.git + args: + chdir: /runner/project + - name: git push shell: git push -u origin main args: