Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate navitia docs #4355

Merged
merged 8 commits into from
Mar 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/publish_navitia_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Publish Navitia Documentation

on:
push:
branches:
- release
workflow_dispatch:
tags:
- '*'

env:
REGION: eu-west-1
Expand All @@ -15,6 +14,7 @@ jobs:
steps:
- name: force chown to avoid errors
run: chown -R $USER:$USER .

- name: Git config
run: git config --global --add safe.directory /__w/navitia/navitia
- name: Checkout
Expand All @@ -38,13 +38,8 @@ jobs:
build_dir: documentation/slate/build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: slack notification (the job has failed)
if: failure()
run: |
echo '{"text":":warning: Navitia Github Actions: publish_navitia_documentation failed ! (https://github.com/hove-io/navitia/actions?query=workflow%3A%22Publish+Navitia+Documentation%22)"}' | http --json POST ${{secrets.SLACK_NAVITIA_TEAM_URL}}

- name: clean up workspace
if: ${{ always() }}
run: |
rm -rf ./*
rm -rf ./.??*
Loading