1
0
Files
test-php/.github/workflows/cicd.yaml
felegy a247bed8d4
All checks were successful
/ build-and-deploy (push) Successful in 47s
~ Rebuild Image
2025-08-22 14:42:18 +00:00

23 lines
538 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: git@${{ secrets.DEPLOY_REPO }}:${{ github.repository }}.git
SSH_CONFIG: |
Host ${{ secrets.DEPLOY_REPO }}
ProxyCommand cloudflared access ssh --hostname %h
GIT_SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
GIT_SSH_NO_VERIFY_HOST: "true"