fix(ci): git safe.directory 허용 (root runner → chpark 소유 repo)
Deploy / deploy (push) Successful in 1m17s
Deploy / deploy (push) Successful in 1m17s
This commit is contained in:
@@ -15,16 +15,16 @@ jobs:
|
||||
- name: Sync server repo
|
||||
run: |
|
||||
set -e
|
||||
echo "::group::Sync"
|
||||
git config --global --add safe.directory /home/chpark/insurance
|
||||
cd /home/chpark
|
||||
if [ ! -d insurance/.git ]; then
|
||||
git clone https://git.junggomoa.com/chpark/insurance.git
|
||||
chown -R chpark:chpark insurance
|
||||
fi
|
||||
cd insurance
|
||||
git fetch origin master
|
||||
git reset --hard origin/master
|
||||
git log -1 --oneline
|
||||
echo "::endgroup::"
|
||||
|
||||
- name: Deploy to k3s
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user