add error handling if env for credentials file not set #3313
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Push mirror | |
on: | |
push: | |
branches: [ '**' ] | |
jobs: | |
push: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: mirror-repository | |
uses: ppcad/[email protected] | |
with: | |
REMOTE: ${{ secrets.GIT_REMOTE_URL }} | |
GIT_USERNAME: ${{ secrets.GIT_USERNAME }} | |
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }} | |
GIT_PUSH_ARGS: '--force --quiet --no-progress' | |
DEBUG: "false" |