Skip to content

Commit

Permalink
Merge pull request #42 from f5devcentral/development
Browse files Browse the repository at this point in the history
Fix pages workflow
  • Loading branch information
c1ly authored Oct 18, 2024
2 parents 73e2a4a + 6e5f069 commit 4e994a1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
working-directory: ./pages
ruby-version: '3.3' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
uses: actions/configure-pages@v5
id: pages
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./pages
# Outputs to the './_site' directory by default
run: cd ./pages && bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./pages/_site

# Deployment job
deploy:
Expand Down
3 changes: 2 additions & 1 deletion pages/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ description: A tool for monitoring BigIP Devices with Grafana, Prometheus, and O

# Build settings
theme: just-the-docs
url: https://f5devcentral.github.io/application-study-tool/
url: https://f5devcentral.github.io
baseurl: /application-study-tool/

aux_links:
AST Repository: https://github.com/f5devcentral/application-study-tool/
Expand Down

0 comments on commit 4e994a1

Please sign in to comment.