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

Automated deployment #70

Merged
merged 3 commits into from
Sep 5, 2023
Merged

Automated deployment #70

merged 3 commits into from
Sep 5, 2023

Conversation

Bullrich
Copy link
Collaborator

@Bullrich Bullrich commented Sep 5, 2023

Created deploy script to automatically deploy new versions to GitHub packages using Docker.

The deployment was copied from stale-pr-finder/.github/workflows/publish.yml

Closes #55

@Bullrich Bullrich added this to the Project launch milestone Sep 5, 2023
@Bullrich Bullrich requested a review from a team as a code owner September 5, 2023 21:24
@Bullrich Bullrich self-assigned this Sep 5, 2023
@Bullrich Bullrich linked an issue Sep 5, 2023 that may be closed by this pull request
Comment on lines +368 to +371
To deploy a new version you need to update two files:
- [`package.json`](./package.json): Update the version number.
- [`action.yml`](./action.yml): Update the image number in `runs.image`.
**Important**: Both versions must have the same number.
Copy link
Contributor

@mordamax mordamax Sep 5, 2023

Choose a reason for hiding this comment

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

it could be done with some release script?

yarn version which should update package.json + action could be done with awk + regex?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It can be done. I just didn't think that investing the time on writing a script to replace two strings is worth the effort as the change is minimal. But I can look into adding some script to do that.

Or would it be fine if I move it into a different ticket?

Copy link
Contributor

Choose a reason for hiding this comment

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

sure :)

@Bullrich Bullrich merged commit 5ad9a36 into main Sep 5, 2023
17 checks passed
@Bullrich Bullrich deleted the deployment branch September 5, 2023 22:12
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.

Write deploy script
2 participants