Skip to content

Commit

Permalink
Try to use the built in token instead of a PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet authored May 23, 2024
1 parent ad879ee commit ae6fa64
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/sync-main-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: main

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: quarkusio/quarkus
path: .quarkus-main-repository
Expand Down Expand Up @@ -58,13 +58,7 @@ jobs:
git commit -am "Sync documentation of main branch"
fi
git pull origin main --rebase
- name: Push changes to main branch
# Uses sha for added security since tags can be updated
uses: ad-m/github-push-action@057a6ba835d986bfe495dd476a6c4db1d5f9503c
with:
github_token: ${{ secrets.SYNC_MAIN_TOKEN }}
branch: main

git push origin main
- name: Report status
if: "always() && github.repository == 'quarkusio/quarkusio.github.io'"
shell: bash
Expand Down

0 comments on commit ae6fa64

Please sign in to comment.