Skip to content

Commit 70089b5

Browse files
committed
reorder; set high guide priority
1 parent 93494a2 commit 70089b5

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

.github/workflows/deploy.yaml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,22 +83,8 @@ jobs:
8383
github_token: ${{ secrets.GITHUB_TOKEN }}
8484
publish_dir: ./public
8585

86-
- name: Index guides
87-
id: indexguides
88-
env:
89-
ALGOLIA_ID: ${{ secrets.ALGOLIA_ID }}
90-
ALGOLIA_KEY: ${{ secrets.ALGOLIA_KEY }}
91-
ALGOLIA_INDEX: ${{ secrets.ALGOLIA_INDEX }}
92-
run: |
93-
astropylibrarian index guide \
94-
http://www.astropy.org/ccd-reduction-and-photometry-guide/ \
95-
--algolia-id "$ALGOLIA_ID" \
96-
--algolia-key "$ALGOLIA_KEY" \
97-
--index "$ALGOLIA_INDEX"
98-
9986
- name: Pre-index tutorials
10087
id: preindex
101-
if: steps.indexguides.outcome == 'success'
10288
env:
10389
ALGOLIA_ID: ${{ secrets.ALGOLIA_ID }}
10490
ALGOLIA_KEY: ${{ secrets.ALGOLIA_KEY }}
@@ -131,3 +117,16 @@ jobs:
131117
astropylibrarian index tutorial-site \
132118
public/tutorials \
133119
https://learn.astropy.org/tutorials
120+
121+
- name: Index guides
122+
env:
123+
ALGOLIA_ID: ${{ secrets.ALGOLIA_ID }}
124+
ALGOLIA_KEY: ${{ secrets.ALGOLIA_KEY }}
125+
ALGOLIA_INDEX: ${{ secrets.ALGOLIA_INDEX }}
126+
run: |
127+
astropylibrarian index guide \
128+
http://www.astropy.org/ccd-reduction-and-photometry-guide/ \
129+
--algolia-id "$ALGOLIA_ID" \
130+
--algolia-key "$ALGOLIA_KEY" \
131+
--index "$ALGOLIA_INDEX" \
132+
--priority 2

0 commit comments

Comments
 (0)