Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
83be557b
Commit
83be557b
authored
5 years ago
by
EricFromCanada
Browse files
Options
Downloads
Patches
Plain Diff
workflows: revise `apidoc` workflow
parent
f0f4142f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/apidoc.yml
+19
-8
19 additions, 8 deletions
.github/workflows/apidoc.yml
with
19 additions
and
8 deletions
.github/workflows/apidoc.yml
+
19
−
8
View file @
83be557b
...
...
@@ -6,17 +6,19 @@ jobs:
apidoc
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
docker://ruby:latest
-
uses
:
Homebrew/actions/git-ssh@master
with
:
git_user
:
BrewTestBot
git_email
:
homebrew-test-bot@lists.sfconservancy.org
key
:
${{ secrets.RUBYDOC_DEPLOY_KEY }}
-
run
:
|
# silence bundler complaining about being root
mkdir ~/.bundle
echo 'BUNDLE_SILENCE_ROOT_WARNING: "1"' > ~/.bundle/config
-
name
:
Set up Ruby
uses
:
actions/setup-ruby@v1
with
:
version
:
'
>=2.3'
-
name
:
Set up repositories
run
:
|
# clone rubydoc.brew.sh with SSH so we can push back
git clone git@github.com:Homebrew/rubydoc.brew.sh
cd rubydoc.brew.sh
...
...
@@ -24,9 +26,18 @@ jobs:
# clone latest Homebrew/brew
git clone --depth=1 https://github.com/Homebrew/brew
# run rake to build documentation
-
name
:
Install RubyGems
run
:
|
# silence bundler complaining about being root
mkdir ~/.bundle
echo 'BUNDLE_SILENCE_ROOT_WARNING: "1"' > ~/.bundle/config
gem install bundler
bundle install
bundle install --jobs 4 --retry 3
-
name
:
Build and push API docs
run
:
|
# run rake to build documentation
bundle exec rake
# commit and push generated files
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment