mirror of
https://github.com/lan-tianxiang/clone_scripts.git
synced 2025-07-19 02:13:45 +08:00
Update sync_from_docker.yml
This commit is contained in:
14
.github/workflows/sync_from_docker.yml
vendored
14
.github/workflows/sync_from_docker.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: sync_from_docker
|
name: sync_clone_scripts_from_lxk_docker
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
@@ -17,16 +17,8 @@ jobs:
|
|||||||
sudo -E apt-get update -y
|
sudo -E apt-get update -y
|
||||||
sudo -E apt-get install -y build-essential git git-core curl wget jq
|
sudo -E apt-get install -y build-essential git git-core curl wget jq
|
||||||
sudo -E apt-get clean -y
|
sudo -E apt-get clean -y
|
||||||
git config --global user.name 'GitHub Actions' && git config --global user.email 'noreply@github.com'
|
git config --global user.name 'lxk0301' && git config --global user.email 'lxk0301@gitee.com'
|
||||||
# - name: Prepare Key
|
|
||||||
# run: |
|
|
||||||
# mkdir -p ~/.ssh
|
|
||||||
# echo -e "${{ secrets.LXKEY }}" > ~/.ssh/id_rsa
|
|
||||||
# chmod 600 ~/.ssh/id_rsa
|
|
||||||
# ssh-keyscan gitee.com > ~/.ssh/known_hosts
|
|
||||||
# - name: Clone Master
|
|
||||||
# run: |
|
|
||||||
# git clone -b master git@gitee.com:lxk0301/jd_scripts.git master
|
|
||||||
- name: Get Code
|
- name: Get Code
|
||||||
run: |
|
run: |
|
||||||
docker pull lxk0301/jd_scripts:latest
|
docker pull lxk0301/jd_scripts:latest
|
||||||
|
Reference in New Issue
Block a user