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

fix: Update @next GitHub action #217

Merged
merged 1 commit into from
Jul 25, 2024
Merged

fix: Update @next GitHub action #217

merged 1 commit into from
Jul 25, 2024

Conversation

DafyddLlyr
Copy link
Contributor

This action is currently failing due to the way generating new files and checking out dist is working. Adding the -f (force) flag resolves this.

@@ -1,4 +1,4 @@
import { Application } from "../../../../types/schemas/application";
import {Application} from '../../../../types/schemas/application';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Picked up by gts

@DafyddLlyr DafyddLlyr force-pushed the dp/@next-action-fix branch from df515f3 to 2e12ab2 Compare July 25, 2024 20:13
@@ -61,10 +61,6 @@ jobs:
git fetch origin dist
git checkout -b dist origin/dist

- name: Cleanup old /latest folder
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removing this as I realised it won't actually work as expected here - being called here it would remove the newly generated version.

I think this is realistically an edge case, as the main schema file which exists here to be accessed by the /latest URL will be stable.

@DafyddLlyr DafyddLlyr merged commit 89f9c37 into main Jul 25, 2024
3 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/@next-action-fix branch July 25, 2024 20:33
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