diff --git a/.github/workflows/sync.yaml b/.github/workflows/sync.yaml index dbd99d4..a05913b 100644 --- a/.github/workflows/sync.yaml +++ b/.github/workflows/sync.yaml @@ -24,9 +24,7 @@ jobs: run: gh-org-mgr --version # Only effectively sync on main branch - name: Configure application, add login credentials - run: | - sed -i "s|__GITHUB_TOKEN__|${{ secrets.GTHB_TOKEN }}|" app.yaml - sed -i "s|__GITHUB_APP_PRIVATE_KEY__|${{ secrets.GHTB_APP_PRIVATE_KEY }}|" app.yaml + run: sed -i "s|__GITHUB_APP_PRIVATE_KEY__|${{ secrets.GTHB_APP_PRIVATE_KEY }}|" app.yaml - name: Synchronise settings with github-org-manager if: github.ref == 'refs/heads/main' run: gh-org-mgr sync -c . diff --git a/app.yaml b/app.yaml index 60694dd..a5abc5a 100644 --- a/app.yaml +++ b/app.yaml @@ -8,4 +8,5 @@ # GitHub App (if this is set, the personal access token (github_token) will be ignored) github_app_id: 1075380 -github_app_private_key: __GITHUB_APP_PRIVATE_KEY__ +github_app_private_key: | + __GITHUB_APP_PRIVATE_KEY__