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: