~ Rebuild Image
This commit is contained in:
17
.github/workflows/cicd.yaml
vendored
17
.github/workflows/cicd.yaml
vendored
@@ -7,21 +7,16 @@ jobs:
|
|||||||
build-image-and-deploy:
|
build-image-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Setup cloudflared
|
|
||||||
uses: AnimMouse/setup-cloudflared@v2
|
- uses: felegy/mirror-action@master
|
||||||
- name: Configure ssh
|
|
||||||
run: |
|
|
||||||
mkdir -p .ssh
|
|
||||||
tee .ssh/config <<EOF
|
|
||||||
Host ssh-git.saito.systems
|
|
||||||
ProxyCommand cloudflared access ssh --hostname %h
|
|
||||||
EOF
|
|
||||||
- uses: yesolutions/mirror-action@master
|
|
||||||
with:
|
with:
|
||||||
REMOTE: ${{ secrets.DEPLOY_REPO_URL }}
|
REMOTE: ${{ secrets.DEPLOY_REPO_URL }}
|
||||||
GIT_SSH_COMMAND: "ssh -F .ssh/config"
|
SSH_CONFIG: |
|
||||||
|
Host ssh-git.saito.systems
|
||||||
|
ProxyCommand cloudflared access ssh --hostname %h
|
||||||
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