We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abca50c commit f0733e4Copy full SHA for f0733e4
.github/workflows/deploy.yaml
@@ -83,8 +83,22 @@ jobs:
83
github_token: ${{ secrets.GITHUB_TOKEN }}
84
publish_dir: ./public
85
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
+ https://www.astropy.org/ccd-reduction-and-photometry-guide/index.html \
95
+ --algolia-id "$ALGOLIA_ID" \
96
+ --algolia-key "$ALGOLIA_KEY" \
97
+ --index "$ALGOLIA_INDEX"
98
+
99
- name: Pre-index tutorials
100
id: preindex
101
+ if: steps.indexguides.outcome == 'success'
102
env:
103
ALGOLIA_ID: ${{ secrets.ALGOLIA_ID }}
104
ALGOLIA_KEY: ${{ secrets.ALGOLIA_KEY }}
0 commit comments