mirror of
https://github.com/catppuccin/nim.git
synced 2024-11-14 21:17:54 -06:00
94e670eb93
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
29 lines
595 B
YAML
29 lines
595 B
YAML
name: GitHub Pages
|
|
|
|
on:
|
|
push:
|
|
tags: ["v*.*.*"]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-22.04
|
|
permissions:
|
|
contents: write
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: jiro4989/setup-nim-action@v2
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build Docs
|
|
run: nimble docs
|
|
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./public
|