Skip to content

Commit

Permalink
fix: add setup pages in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Its-Just-Nans committed Jan 25, 2024
1 parent 7c51891 commit 0de1941
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Rust
on:
push:
branches: ["main"]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
Expand All @@ -24,14 +25,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Build
run: cargo build --verbose
- name: Build website
run: .github/workflows/build.sh
- name: Upload coverage artifact
uses: actions/upload-artifact@v4.3.0
with:
path: "dist/"
path: "dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit 0de1941

Please sign in to comment.