on: push: branches: - main - dev jobs: build-image-and-deploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: yesolutions/mirror-action@master with: REMOTE: ${{ secrets.DEPLOY_REPO_URL }} GIT_USERNAME: ${{ secrets.DEPLOY_REPO_USERNAME }} GIT_PASSWORD: ${{ secrets.DEPLOY_REPO_TOKEN }}