Redo Avatar.vala to use modern rendering #1014
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
# Simple workflow for deploying static content to GitHub Pages | |
name: Deploy Documentation to Pages | |
on: | |
# Runs on pushes targeting the default branch | |
push: | |
# Runs when a stable release is created | |
release: | |
types: [published] | |
# 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: false | |
jobs: | |
# Single deploy job since we're just deploying | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/tau-os/builder:nightly | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: dnf install --allowerasing -y meson vala-nightly valadoc-nightly gtk4-devel libgee-devel sass gi-docgen nodejs | |
- name: Setup build | |
run: meson _build -Dgidoc=true | |
- name: Build docs with Ninja | |
run: ninja | |
working-directory: ./_build | |
- name: Setup pages | |
if: github.event_name == 'release' | |
uses: actions/configure-pages@v5 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
# Upload entire repository | |
path: "./_build/doc" | |
- name: Deploy to GitHub Pages | |
if: github.event_name == 'release' | |
id: deployment | |
uses: actions/deploy-pages@v4 |