Skip to content

Commit

Permalink
Merge pull request #291 from tomcombriat/master
Browse files Browse the repository at this point in the history
Automatic deployment of doxygen/gh-page on push on Master
  • Loading branch information
tomcombriat authored Dec 14, 2024
2 parents 091c319 + 2fd2f04 commit 2646260
Show file tree
Hide file tree
Showing 932 changed files with 17,999 additions and 84,246 deletions.
70 changes: 70 additions & 0 deletions .github/workflows/build-and-deploy-site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@

name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]


# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Doxygen Action
uses: mattnotmitt/[email protected]
with:
working-directory: extras/doxygen-style
doxyfile-path: Doxyfile
- name: Setup Ruby
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
working-directory: extras/website
ruby-version: '3.1' # 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
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
# Outputs to the './_site' directory by default
working-directory: ./extras/website
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
with:
#path: ./gh-pages/_site
path: ./extras/website/_site

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
Mozzi-resources
.vscode
*.out
*.ogg
*.mp3
sonar-project.properties
*.bak
*.gch
*#*
images
Makefile*
tags
user_guide.md
Expand Down
164 changes: 0 additions & 164 deletions extras/doc/html/01_8_basics_2_vibrato_2_vibrato_8ino-example.html

This file was deleted.

Loading

0 comments on commit 2646260

Please sign in to comment.