~ Rebuild Image
This commit is contained in:
6
.github/workflows/cicd.yaml
vendored
6
.github/workflows/cicd.yaml
vendored
@@ -14,14 +14,14 @@ jobs:
|
|||||||
uses: AnimMouse/setup-cloudflared@v2
|
uses: AnimMouse/setup-cloudflared@v2
|
||||||
- name: Configure ssh
|
- name: Configure ssh
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ssh
|
mkdir -p .ssh
|
||||||
chmod 700 ~/.ssh
|
tee .ssh/config <<EOF
|
||||||
tee ~/.ssh/config <<EOF
|
|
||||||
Host ssh-git.saito.systems
|
Host ssh-git.saito.systems
|
||||||
ProxyCommand cloudflared access ssh --hostname %h
|
ProxyCommand cloudflared access ssh --hostname %h
|
||||||
EOF
|
EOF
|
||||||
- uses: yesolutions/mirror-action@master
|
- uses: yesolutions/mirror-action@master
|
||||||
with:
|
with:
|
||||||
REMOTE: ${{ secrets.DEPLOY_REPO_URL }}
|
REMOTE: ${{ secrets.DEPLOY_REPO_URL }}
|
||||||
|
GIT_SSH_COMMAND: "ssh -F .ssh/config"
|
||||||
GIT_SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
GIT_SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||||
GIT_SSH_NO_VERIFY_HOST: "true"
|
GIT_SSH_NO_VERIFY_HOST: "true"
|
||||||
|
|||||||
Reference in New Issue
Block a user