Skip to content

Commit

Permalink
fix: add environment to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinT3Hu committed Feb 26, 2024
1 parent 69c0fde commit 5b5cdc4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
cargo doc --no-deps --features download
cp -r target/doc ./
- name: Upload Docs
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: doc

Expand All @@ -29,6 +29,9 @@ jobs:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy Doc
uses: actions/deploy-pages@v4
Expand Down

0 comments on commit 5b5cdc4

Please sign in to comment.