Skip to content

use input options for auth selection if they exist (#560) #471

use input options for auth selection if they exist (#560)

use input options for auth selection if they exist (#560) #471

Workflow file for this run

name: Docs
on:
push:
branches: [ main ]
jobs:
generate:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.1.2']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Remove /docs/docs from .gitignore
run: sed -i '/\/docs\/docs/d' .gitignore
- name: Generate yard docs
run: bundle exec bin/docs
- name: Set github author
run: |
git config --global user.email "inferno-developers@groups.mitre.org"
git config --global user.name "Inferno CI"
- name: Commit docs
run: git add docs/docs && git commit -m 'generate docs'
- name: Push to gh-pages branch
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
force: true