-
Notifications
You must be signed in to change notification settings - Fork 348
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
Create publish-gem.yml #898
Merged
Merged
Changes from 9 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
f3ee583
Create publish-gem.yml
tsusdere bb1d50e
add ruby version
tsusdere ecb7a8a
Update publish-gem.yml
tsusdere 31bce95
Update publish-gem.yml
tsusdere 2d66a27
Update Dockerfile
tsusdere 351e4a7
Update Dockerfile
tsusdere 8c97daf
Update publish-gem.yml
tsusdere 7337649
update gem update
YiMysty 549fa79
upgrade to 2.7.8
YiMysty d7615e1
Update publish-gem.yml
tsusdere a1e407c
change ruby version
tsusdere 3980c1a
add version to update
tsusdere 90b989b
revert to working update
tsusdere 7c86cdb
add 3.2
tsusdere d73437f
remove 2.6
tsusdere 9ccadb7
Update push.yml
tsusdere 8dd7a80
Update .travis.yml
tsusdere 48da3d2
test 3.4 for CI
tsusdere 460897f
update version
tsusdere 798d778
update
tsusdere fa1b540
change ruby version
tsusdere 117fd75
update jekyll
tsusdere ed0d437
Update cibuild-docker
tsusdere 91e261d
Update .rubocop.yml
tsusdere c31c982
Update github-pages.gemspec
tsusdere 47322fd
Update Gemfile
tsusdere File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Publish Gem | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '2.7.8' | ||
- name: Build gem | ||
run: | | ||
gem build github-pages.gemspec | ||
- name: Publish | ||
run: | | ||
gem push github-pages.gem --key ${{ secrets.PAGES_GEM_PUBLISH }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.7.3 | ||
2.7.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG RUBY_VERSION=2.7.3 | ||
ARG RUBY_VERSION=2.7.8 | ||
FROM ruby:$RUBY_VERSION | ||
|
||
RUN apt-get update \ | ||
|
@@ -8,7 +8,8 @@ RUN apt-get update \ | |
make \ | ||
nodejs | ||
|
||
RUN gem update --system | ||
# final version for rubygems-update to supoprt ruby 2.7, consider removing this after upgraded to ruby 3.0 | ||
RUN gem update --system 3.4.22 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since you're upgrading in this PR, you can probably remove this. |
||
|
||
COPY .git /src/gh/pages-gem/.git | ||
COPY Gemfile* /src/gh/pages-gem/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ruby:2.7.3-alpine | ||
FROM ruby:2.7.8-alpine | ||
|
||
RUN apk update && apk add --no-cache \ | ||
git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 should only run when merge into master branch or tag release I think?
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.
Do we want to instead run the job when we merge into
master
branch?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.