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

Deploy PR previews #5

Merged
merged 5 commits into from
Aug 24, 2024
Merged

Deploy PR previews #5

merged 5 commits into from
Aug 24, 2024

Conversation

ZeLonewolf
Copy link
Member

@ZeLonewolf ZeLonewolf commented Aug 23, 2024

This PR adds deployment of PR previews for the fonts repo, under the folder /pr-fonts/ rather than /pr/ for the main map. It will also remove old PR previews once the branch is merged. This workflow code is largely copied from the openstreetmap-americana repo. This will allow us to test out changes to the font stacks.

This works by copying the built fonts into OSM US's S3 bucket used for americanamap.org assets including the main map's PR previews.

I've added the necessary repository secrets for this to work and created access credentials on the AWS side.

Note that due to github's permissions model, the PR preview will not run until the upload workflow is on the main branch. So we won't fully know if this works until the next PR.

@ZeLonewolf ZeLonewolf merged commit 03a4367 into main Aug 24, 2024
4 checks passed
@ZeLonewolf ZeLonewolf deleted the zlw-pr-preview branch August 24, 2024 00:39
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.

1 participant