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:
push:
@ -7,23 +7,28 @@ on:
jobs:
deploy:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
- 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
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
path: "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"
]
}