Skip to content

Commit

Permalink
Don't keep docs in the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
hellcp committed Nov 13, 2022
1 parent 1d36f66 commit a373d75
Show file tree
Hide file tree
Showing 60 changed files with 19 additions and 42,467 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,28 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Pages
uses: actions/configure-pages@v2

- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'

- name: Install dependencies
run: |
gem install mini_racer -v 0.6.3
bundler install
cp config/site.example.yml config/site.yml
- name: Build documentation
run: bundler exec rake doc:html

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './doc/html'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ config/database.yml
config/site.yml
config/secrets.yml
.yardoc/*
doc/html
coverage/*
*.swp
.ruby-version
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ gem 'jquery-ui-rails'
# HAML as default
gem 'haml-rails'
# mini_racer for execjs
gem 'mini_racer', platforms: :ruby
gem 'mini_racer'

# To test email with letter opener set the 'async_emails' option in site.yml to false
gem 'letter_opener_web'
Expand Down
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ GEM

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
active_hash
Expand Down

0 comments on commit a373d75

Please sign in to comment.