Skip to content

Commit

Permalink
refactor: Fix paths in CI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
t2gran committed Oct 11, 2024
1 parent f4bfedf commit b2803da
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
# schema hasn't changed.
# example commit: https://github.com/opentripplanner/docs/commit/45e6ddf8e4a4
SCHEMA_FILE_MODIFIED=`git log -n 1 --pretty=format:%ct src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls`
SCHEMA_FILE_MODIFIED=`git log -n 1 --pretty=format:%ct application/src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls`
echo "schema modified at ${SCHEMA_FILE_MODIFIED}"
git checkout $LOCAL_BRANCH
DOCS_MODIFIED=`git log -n 1 --pretty=format:%ct api/dev-2.x/graphql-gtfs/introduction.html`
Expand All @@ -181,7 +181,7 @@ jobs:
with:
node-version: 16
- name: Run code generator
working-directory: src/main/java/org/opentripplanner/apis/gtfs/generated
working-directory: application/src/main/java/org/opentripplanner/apis/gtfs/generated
run: |
yarn install
yarn generate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/debug-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
git checkout dev-2.x
git pull --rebase
CLIENT_HTML_OUTPUT=src/client/index.html
mkdir -p src/client/
CLIENT_HTML_OUTPUT=application/src/client/index.html
mkdir -p application/src/client/
cp client/output/index.html ${CLIENT_HTML_OUTPUT}
# just to debug
Expand Down
2 changes: 1 addition & 1 deletion magidoc.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default {
introspection: {
type: 'sdl',
paths: ['src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls'],
paths: ['application/src/main/resources/org/opentripplanner/apis/gtfs/schema.graphqls'],
},
website: {
template: 'carbon-multi-page',
Expand Down

0 comments on commit b2803da

Please # to comment.