From f65e83d42e55251d8b06fff9d04fe8525c5b1847 Mon Sep 17 00:00:00 2001 From: Furkan Akkurt Date: Thu, 1 Feb 2024 15:07:41 +0300 Subject: [PATCH] add public-release workflow --- .github/workflows/sync-public-release.yml | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/sync-public-release.yml diff --git a/.github/workflows/sync-public-release.yml b/.github/workflows/sync-public-release.yml new file mode 100644 index 0000000..ec846c4 --- /dev/null +++ b/.github/workflows/sync-public-release.yml @@ -0,0 +1,24 @@ +name: Sync public-release +on: + push: + branches: + - public-release # Sync only when public-release branch is updated + workflow_dispatch: # Sync manually +jobs: + push-to-public-repo: + runs-on: ubuntu-latest + steps: + - name: Checkout source repository + uses: actions/checkout@v4 + with: + persist-credentials: false + fetch-depth: 0 + - name: Push changes to target repository + uses: ad-m/github-push-action@v0.8.0 + with: + github_token: ${{ secrets.PAT }} # organization-level PAT + repository: boun-tabi-LMG/TURNA # Target repository + branch: public-release # Push to public-release branch + force: true + tags: true + directory: "." \ No newline at end of file