Compare commits

..

5 commits

Author SHA1 Message Date
Hammy
391f92c465
ci: switch to new pages workflow (#6) 2024-09-23 02:44:11 +01:00
renovate[bot]
94e670eb93
chore(deps): update actions/checkout action to v4 (#2)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 02:40:56 +01:00
Hammy
0e401523f0
chore: delete .gitkeep (#5) 2024-09-23 02:40:29 +01:00
renovate[bot]
9f1d3bd853
chore(deps): update jiro4989/setup-nim-action action to v2 (#3)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 02:39:11 +01:00
renovate[bot]
81cb6ad6e7
chore: Configure Renovate (#1)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 02:37:53 +01:00
3 changed files with 22 additions and 11 deletions

View file

@ -1,4 +1,4 @@
name: GitHub Pages name: Deploy Docs
on: on:
push: push:
@ -7,23 +7,28 @@ on:
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
permissions: permissions:
contents: write id-token: write
concurrency: pages: write
group: ${{ github.workflow }}-${{ github.ref }} environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1 - uses: jiro4989/setup-nim-action@v2
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docs - name: Build Docs
run: nimble docs run: nimble docs
- name: Deploy - name: Upload artifact
uses: peaceiris/actions-gh-pages@v3 uses: actions/upload-pages-artifact@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} path: "public/"
publish_dir: ./public
- name: Deploy artifact to GitHub Pages
id: deploy
uses: actions/deploy-pages@v4

View file

6
renovate.json Normal file
View file

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>catppuccin/renovate-config"
]
}