From 4503fbfa25a0e1e20ce088e36c6701c9143be7cd Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Wed, 4 Aug 2021 01:04:15 -0700 Subject: [PATCH] Update workflow --- .github/workflows/mirroring.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/mirroring.yml b/.github/workflows/mirroring.yml index d96d2aa6..2c5fd0d0 100644 --- a/.github/workflows/mirroring.yml +++ b/.github/workflows/mirroring.yml @@ -1,15 +1,19 @@ name: Mirroring -on: [push, delete] +on: + push: + branches: + - master + delete: + branches: + - master jobs: mirroring: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v1 - - uses: pixta-dev/repository-mirroring-action@v1 - with: - target_repo_url: - git@gitlab.com:hodgef/simple-keyboard.git - ssh_private_key: - ${{ secrets.GL_KEY }} + - uses: actions/checkout@v1 + - uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: git@gitlab.com:hodgef/simple-keyboard.git + ssh_private_key: ${{ secrets.GL_KEY }}