42 lines
801 B
YAML
42 lines
801 B
YAML
---
|
|
- name: ipcheck shell start
|
|
shell: sh {{ role_path }}/files/ipcheck.sh
|
|
args:
|
|
chdir: /runner/project
|
|
|
|
- name: git config
|
|
shell: git config --global user.email "sa_8001@ex-em.com"
|
|
|
|
- name: git config
|
|
shell: git config --global user.name "sa8001"
|
|
|
|
- name: git init
|
|
shell: git init
|
|
args:
|
|
chdir: /runner/project
|
|
|
|
- name: git add
|
|
shell: git add .
|
|
args:
|
|
chdir: /runner/project
|
|
|
|
- name: git commit
|
|
shell: git commit -m "ip check update"
|
|
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:
|
|
chdir: /runner/project
|