Skip to content

Commit 2ff5746

Browse files
authored
Merge pull request #4355 from hove-io/generate_navitia_docs
Generate navitia docs
2 parents 5054fbf + df602ff commit 2ff5746

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/publish_navitia_documentation.yml

+4-9
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ name: Publish Navitia Documentation
22

33
on:
44
push:
5-
branches:
6-
- release
7-
workflow_dispatch:
5+
tags:
6+
- '*'
87

98
env:
109
REGION: eu-west-1
@@ -15,6 +14,7 @@ jobs:
1514
steps:
1615
- name: force chown to avoid errors
1716
run: chown -R $USER:$USER .
17+
1818
- name: Git config
1919
run: git config --global --add safe.directory /__w/navitia/navitia
2020
- name: Checkout
@@ -38,13 +38,8 @@ jobs:
3838
build_dir: documentation/slate/build
3939
env:
4040
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
4142
- name: slack notification (the job has failed)
4243
if: failure()
4344
run: |
4445
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}}
45-
46-
- name: clean up workspace
47-
if: ${{ always() }}
48-
run: |
49-
rm -rf ./*
50-
rm -rf ./.??*

0 commit comments

Comments
 (0)