Skip to content

Revert back to outputs/ dir by default; create if not found#38

Merged
rudokemper merged 10 commits into
mainfrom
docker-outputs-fix
Feb 17, 2024
Merged

Revert back to outputs/ dir by default; create if not found#38
rudokemper merged 10 commits into
mainfrom
docker-outputs-fix

Conversation

@rudokemper
Copy link
Copy Markdown
Member

@rudokemper rudokemper commented Feb 17, 2024

This PR reverts back to writing files to a default outputs/ directory after several attempts to get the Github Actions Docker publishing workflow working when trying to write to the current directory path (./), which in the case of Docker is the root /app dir and messes things up.

One of the reasons behind this switch from outputs/ to ./ for the outputDir is that the npm package was throwing an error if running mapgl-tile-renderer ... in a directory where there is no such outputDir, so this PR also implements a quick fix to create the outputDir if not found (which we should be doing anyway).

@rudokemper rudokemper changed the title Update artifact path to root for .mbtiles files in docker-publish flow Revert back to outputs/ dir by default; create if not found Feb 17, 2024
@rudokemper rudokemper requested a review from luandro February 17, 2024 16:07
Copy link
Copy Markdown
Collaborator

@luandro luandro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

Comment thread .dockerignore
@rudokemper rudokemper merged commit 56c883f into main Feb 17, 2024
@rudokemper rudokemper deleted the docker-outputs-fix branch February 17, 2024 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants