Skip to content

Commit

Permalink
use windows for publishing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
J-ZhengLi committed Dec 3, 2024
1 parent e001c87 commit 4652953
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish-doc.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
name: Generate Docs

on:
workflow_dispatch:
push:
branches: [ "master" ]
paths:
- '*.rs'

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: deploy
Expand All @@ -15,7 +19,7 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: windows-latest # maybe running on windows is faster than using linux because GTK and other graphical deps need to be installed
steps:
- uses: actions/checkout@v4

Expand All @@ -41,7 +45,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
runs-on: windows-latest
needs: build
steps:
- name: Deploy to GitHub Pages
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# R.I.M (Rust Installation Manager)

[![dev_docs](https://img.shields.io/badge/dev-rustdoc-blue)](https://j-zhengli.github.io/rim)

An interactive program to install & manage Rust toolchain and third-party tools, supports graphical user interface (**GUI**) and a basic commandline interface (**CLI**).

## Demo
Expand Down

0 comments on commit 4652953

Please sign in to comment.