23 lines
504 B
YAML
23 lines
504 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
jobs:
|
|
build-image-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- uses: felegy/mirror-action@master
|
|
with:
|
|
REMOTE: ${{ secrets.DEPLOY_REPO_URL }}
|
|
SSH_CONFIG: |
|
|
Host ssh-git.saito.systems
|
|
ProxyCommand cloudflared access ssh --hostname %h
|
|
GIT_SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
|
GIT_SSH_NO_VERIFY_HOST: "true"
|