Skip to content

Commit

Permalink
Checkout to merged branch
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmbmb committed Jul 9, 2024
1 parent 3d07c22 commit 0848e80
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docs-pr-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Checkout docs-site
- name: Checkout merged branch
uses: actions/checkout@v4
with:
ref: gh-pages
ref: ${{ github.event.pull_request.base.ref }}
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: pip install mike
run: pip install -e .[docs]

- name: Set git credentials
run: |
Expand Down

0 comments on commit 0848e80

Please sign in to comment.