Skip to content

Commit

Permalink
Update rediraffe branch to stable on stable (#2719)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Sep 1, 2024
1 parent 61d624e commit 09c2c42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout main
- name: Checkout stable
run: |
git fetch origin main --depth=1
git fetch origin stable --depth=1
- uses: actions/setup-python@v5
with:
python-version: 3.9
Expand All @@ -171,7 +171,7 @@ jobs:
make rediraffecheckdiff
- name: Check redirects format
run: |
[[ $(<source/redirects.txt) == $(git show origin/main:source/redirects.txt)* ]] || { echo "Error: redirects.txt can only be appended to. Lines cannot be modified or deleted."; exit 1; }
[[ $(<source/redirects.txt) == $(git show origin/stable:source/redirects.txt)* ]] || { echo "Error: redirects.txt can only be appended to. Lines cannot be modified or deleted."; exit 1; }
check-formatting:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
]

# Redirect branch
rediraffe_branch = "origin/main"
rediraffe_branch = "origin/stable"

# File containing redirects
rediraffe_redirects = "redirects.txt"
Expand Down

0 comments on commit 09c2c42

Please sign in to comment.