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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.

if: steps.version_check.outputs.changed == 'true'
run: rm -rf latest/*

- name: Commit and Push Changes
if: steps.version_check.outputs.changed == 'true'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Checkout Dist Branch
run: |
git fetch origin dist
git checkout -b dist origin/dist
git checkout -f dist

- name: Commit and Push Changes
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -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


const version = process.env['VERSION'] || '@next';

Expand Down