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

Update workflows to be faster + more recent #65

Merged
merged 2 commits into from
Jul 5, 2024
Merged

Conversation

alifeee
Copy link
Member

@alifeee alifeee commented Apr 12, 2024

Current workflows take far too long to run. The latest is

https://github.com/sheffieldhackspace/Public-Website/actions/runs/8287118405

which took 7 minutes.

image

The build test also takes several minutes.

Also, the action used (helaili/jekyll-action) is deprecated.

It is recommended to replace this with the GitHub Action for creating a page. See guidance here

The workflows introduced in this PR are much faster, making it much less annoying to develop. They also are in-line with the recommendations. For example, here are some workflows from my fork:

test

https://github.com/alifeee/Public-Website/actions/runs/8660606381

image

deploy

https://github.com/alifeee/Public-Website/actions/runs/8660613710

image

This may also require the sources setting to be changed under pages settings. Or it may update automatically.

image

@alifeee alifeee requested a review from LouiseMcMahon April 12, 2024 10:52
Copy link
Contributor

@LouiseMcMahon LouiseMcMahon left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@alifeee
Copy link
Member Author

alifeee commented Jul 5, 2024

I will merge. let's see how it goes... ;]

@alifeee alifeee merged commit 0e4a7b8 into main Jul 5, 2024
1 check passed
@alifeee alifeee deleted the update-workflows branch July 5, 2024 00:07
@alifeee
Copy link
Member Author

alifeee commented Jul 5, 2024

mm, yes. it looks like the sources setting must be changed (see above) to allow the workflow to complete

failed run:

https://github.com/sheffieldhackspace/Public-Website/actions/runs/9801071365/job/27063865356

image

@LouiseMcMahon
Copy link
Contributor

Thats fixed now, just manually triggered a build https://github.com/sheffieldhackspace/Public-Website/actions/runs/9805559436

@alifeee
Copy link
Member Author

alifeee commented Jul 5, 2024

lovely stuff. thanx!

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