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

workflows/apidoc: amalgamate steps to preserve current directory #6420

Merged
merged 1 commit into from Sep 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 2 additions & 11 deletions .github/workflows/apidoc.yml
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
version: '>=2.3'

- name: Set up repositories
- name: Build and push API docs
run: |
# clone rubydoc.brew.sh with SSH so we can push back
git clone git@github.com:Homebrew/rubydoc.brew.sh
Expand All @@ -26,18 +26,9 @@ jobs:
# clone latest Homebrew/brew
git clone --depth=1 https://github.com/Homebrew/brew

- name: Install RubyGems
run: |
# silence bundler complaining about being root
mkdir ~/.bundle
echo 'BUNDLE_SILENCE_ROOT_WARNING: "1"' > ~/.bundle/config

# run rake to build documentation
gem install bundler
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
Expand Down