BadIdeaFactory / biffud.com

This is our website, since someone said we need one
https://biffud.com/
5 stars 9 forks source link

Switch to GH Actions #91

Closed slifty closed 3 years ago

slifty commented 3 years ago

This PR replaces our Travis CI configuration with GH pages.

I believe the various "secrets" referenced by the publish.yml workflow just exist by default and do not need to be explicitly set, so this should simply work when merged.

I admit I have no idea how to test that without merging -- thus is the eternal quandary of PRs that modify CI.

Resolves #90

louh commented 3 years ago

I admit I have no idea how to test that without merging

Create a test branch with this commit that changes the "on" directive to target the test branch, e.g.:

on:
  push:
    branches: [ main, test_branch ]

If it passes, then by the transitive property this branch shall also pass.

chriszs commented 3 years ago

You could also add a workflow_dispatch trigger to run it manually, or use act to run it locally.

slifty commented 3 years ago

Ty for all the tips! Chris I ended up trying out act and it revealed that the site doesn't build in Node 14.

Updating the PR to specify 10 for our action (and I'm adding 10 to our package)

slifty commented 3 years ago

Here goes nothing.........