-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into split-up-tests-for-clarity
- Loading branch information
Showing
21 changed files
with
174 additions
and
173 deletions.
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 |
---|---|---|
|
@@ -2,32 +2,37 @@ name: Docs Build | |
|
||
on: | ||
push: | ||
branches: | ||
branches-ignore: | ||
- main | ||
|
||
|
||
jobs: | ||
runs-on: ubuntu-latest | ||
build-docs: | ||
name: Build Docs | ||
- uses: actions/checkout@master | ||
- name: Setup Ruby | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7.x | ||
- uses: actions/cache@v2 | ||
with: | ||
path: vendor/bundle | ||
key: gems-build-rails-main-ruby-2.7.x-${{ hashFiles('**/Gemfile.lock') }} | ||
- name: Generate docs and statuses | ||
run: | | ||
gem install bundler:2.2.9 | ||
bundle config path vendor/bundle | ||
bundle update | ||
bundle exec rake docs:build | ||
bundle exec rake statuses:dump | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Setup Ruby | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: 2.7.x | ||
- uses: actions/cache@v2 | ||
with: | ||
path: vendor/bundle | ||
key: gems-build-rails-main-ruby-2.7.x-${{ hashFiles('**/Gemfile.lock') }} | ||
- name: Generate docs and statuses | ||
run: | | ||
gem install bundler:2.2.9 | ||
bundle config path vendor/bundle | ||
bundle update | ||
bundle exec rake docs:build | ||
bundle exec rake statuses:dump | ||
- name: Commit & Push Docs Data | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Actions Auto Build" | ||
git add -f docs static/statuses.json | ||
git commit -m "docs: build docs" || true | ||
git push --force origin HEAD:refs/heads/main | ||
git push |
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
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
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
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
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
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
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,17 +1,5 @@ | ||
<%= render Primer::BaseComponent.new(**system_arguments) do %> | ||
<% if avatar %> | ||
<%= render Primer::AvatarComponent.new(alt: avatar.alt, src: avatar.src, size: avatar.size, square: avatar.square, **avatar.system_arguments) %> | ||
<% end %> | ||
|
||
<% if badge %> | ||
<%= render Primer::BaseComponent.new(**badge.system_arguments) do %> | ||
<%= octicon badge.icon %> | ||
<% end %> | ||
<% end %> | ||
|
||
<% if body %> | ||
<%= render Primer::BaseComponent.new(**body.system_arguments) do %> | ||
<%= body.content %> | ||
<% end %> | ||
<% end %> | ||
<%= render Primer::BaseComponent.new(**@system_arguments) do %> | ||
<%= avatar %> | ||
<%= badge %> | ||
<%= body %> | ||
<% end %> |
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
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
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
Oops, something went wrong.