Skip to content

Merge pull request #179 from 24ik/bug #86

Merge pull request #179 from 24ik/bug

Merge pull request #179 from 24ik/bug #86

Workflow file for this run

name: Deploy Web Page
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pages: write
id-token: write
on:
push:
tags:
- "v*.*.*"
workflow_dispatch:
jobs:
web-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.nimble
key: ${{ runner.os }}-nimble-v2-${{ hashFiles('*.nimble') }}
restore-keys: |
${{ runner.os }}-nimble-v2-
if: runner.os != 'Windows'
- uses: jiro4989/setup-nim-action@v2
with:
nim-version: "2.2.x"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: nimble -y web
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: ./www
web-deploy:
needs: web-build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4