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

Simplify GitHub Actions #18

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Simplify GitHub Actions #18

wants to merge 4 commits into from

Conversation

Bisaloo
Copy link

@Bisaloo Bisaloo commented Mar 16, 2022

No description provided.

Copy link
Collaborator

@seabbs seabbs left a comment

Choose a reason for hiding this comment

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

This is really nice - thanks.

@@ -8,6 +8,10 @@ env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

concurrency:
Copy link
Collaborator

Choose a reason for hiding this comment

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

ah this is awesome - thanks

@@ -55,34 +55,10 @@ jobs:
rmarkdown::render("writeup/si.Rmd", output_dir = "docs")
shell: Rscript {0}

- name: Upload documentation
uses: actions/upload-artifact@v2
- name: Deploy to GitHub pages 🚀
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is obviously much cleaner but the bit it loses is the ability to inspect docs etc generated by branches other than main which is quite nice when making edits. Is there a way to do that with this action?

Copy link
Author

Choose a reason for hiding this comment

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

Oh right, missed this. As it is, it would redeploy on pushes to any branch, which is probably not what you want.

I would test things locally. I'm not sure there is a huge benefit to do it via GitHub Actions. Am I missing something?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Mostly that I don't want to test things locally 😆

Also very handy for collabs etc where they may not have the dev environment and/or may not post what the updated text looks like.

@Bisaloo
Copy link
Author

Bisaloo commented Mar 23, 2022

Best I can do is this then 🤷

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