Skip to content

docs: update robots.txt with full docs url #680

docs: update robots.txt with full docs url

docs: update robots.txt with full docs url #680

Workflow file for this run

name: documentation latest
on:
push:
paths:
- "docs/**"
- ".github/workflows/docs-*.yaml"
branches:
- master
workflow_dispatch:
jobs:
docs-latest:
name: Documentation latest
runs-on: ubuntu-20.04
steps:
- name: Check-out
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
working-directory: docs
ruby-version: '3.2'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Build latest
id: build-latest
working-directory: docs
run: bundle exec jekyll build --config _config.yml -d _site/
- name: Update robots.txt
working-directory: docs/_site
run: "sed -i 's/^Sitemap: /Sitemap: https:\/\/docs.lakefs.io/' robots.txt"

Check failure on line 34 in .github/workflows/docs-latest.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/docs-latest.yaml

Invalid workflow file

You have an error in your yaml syntax on line 34
- name: Publish to docs repository
uses: dmnemec/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.PERSONAL_TOKEN }}
with:
source_file: docs/_site/.
destination_repo: treeverse/docs-lakeFS
destination_folder: /
user_email: '[email protected]'
user_name: 'docs-action'