We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2e95c6 commit a3959ddCopy full SHA for a3959dd
2 files changed
.github/workflows/deploy-prod.yml
@@ -63,4 +63,4 @@ jobs:
63
env:
64
SITE_URL: ${{ env.SITE_URL }}
65
API_KEY: ${{ env.INDEXNOW_KEY }}
66
- run: .github/workflows/scripts/index-now.sh
+ run: make submit-index-now
Makefile
@@ -22,6 +22,9 @@ spell-check: ## Run spell check on markdown files
22
build: ## Builds the website package
23
@ENV=$(env) .github/workflows/scripts/build.sh
24
25
+submit-index-now: ## Submits Hugo site URLs to IndexNow endpoints
26
+ @.github/workflows/scripts/index-now.sh
27
+
28
run: ## Start local server. Receives `env` argument. `env=production` will run in production mode. Any other value will fallback to development
29
@if [ "$(env)" = "production" ]; then \
30
echo "### Running in production mode ###"; \
0 commit comments