-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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: |
There was a problem hiding this comment.
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 🚀 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
1cc4beb
to
385514f
Compare
Best I can do is this then 🤷 |
No description provided.