From 4951cb79ebaff34e2f1d5404d7eb26d239af2a90 Mon Sep 17 00:00:00 2001 From: srgooglo <38926803+srgooglo@users.noreply.github.com> Date: Fri, 3 Mar 2023 20:25:15 +0100 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..9df4cd86 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + merge-to-federated: + runs-on: ubuntu-latest + + steps: + - name: Push changes to federated + uses: cpina/github-action-push-to-another-repository@main + env: + SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} + API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} + with: + source-directory: '.' + destination-github-username: 'ragestudio' + destination-repository-name: 'comty-federated' + user-email: srgooglo@ragestudio.net + target-branch: main