allow sorting pack downloads by various columns #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow for building and deploying Etterna documentation | |
name: Etterna documentation CI | |
on: | |
# Runs on pushes to develop | |
push: | |
branches: ["develop"] | |
# 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 one concurrent deployment | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
jobs: | |
#Build job | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Setup | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Update apt | |
run: "sudo apt-get update" | |
- name: Install Ldoc | |
run: "bash ./.ci/install_ldoc.sh" | |
- name: Generate LDoc/Doxygen configs | |
run: "bash ./.ci/generate_doc_configs.sh" | |
#Jekyll build | |
- name: Setup Pages | |
uses: actions/configure-pages@v2 | |
- name: Build with Jekyll | |
uses: actions/jekyll-build-pages@v1 | |
with: | |
source: ./Docs/ | |
destination: ./_site | |
#Ldoc build | |
- name: Run LDoc | |
run: | | |
cd build | |
make ldoc | |
sudo mv ldoc_output ../_site/ldoc | |
#Doxygen build | |
- name: Run Doxygen | |
run: | | |
cd build | |
make doxygen | |
sudo mv doxygen ../_site | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
# 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@v1 |