Skip to content

Commit

Permalink
ci: Add workflow_dispatch for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Mar 25, 2024
1 parent c9264c9 commit e515fe9
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 113 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/cargo_publish_dry_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name: Check crate publishing works
on:
pull_request:
branches: [ release ]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
Expand All @@ -15,10 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install stable Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
uses: dtolnay/rust-toolchain

- name: Get Cargo version
id: cargo_version
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name: Deploy documentation
on:
push:
branches: [ dev ]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
Expand All @@ -23,6 +24,7 @@ jobs:
run: cargo +nightly doc --no-deps

- name: Deploy documentation
if: ${{ github.event_name == 'branches' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading

0 comments on commit e515fe9

Please sign in to comment.