Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.

Commit

Permalink
Respond to wadells feedback
Browse files Browse the repository at this point in the history
Run the migration based on the current `main` branch, then switch to the
mintlify branch and rebase against main. This way, we use the up-to-date
migration script and plugins.
  • Loading branch information
ptgott committed Mar 11, 2024
1 parent 39b0c58 commit e0f164b
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/mintlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,24 @@ jobs:
- name: Check out mintlify branch
uses: actions/checkout@v4
with:
ref: mintlify
ref: main

- name: Run the migration script
- name: "Set up git"
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub"
- name: Run the migration script and push
run: |
yarn
yarn git-update
yarn build-node
yarn mintlify
- name: Push to the remote
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub"
git add migration-result
# Use the latest version of the Mintlify script, remark plugins, etc.
git rebase main
git commit -m "[auto] Sync Mintlify source"
git push --set-upstream origin mintlify
git checkout mintlify
git rebase main
git push
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}

0 comments on commit e0f164b

Please sign in to comment.