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 Apr 2, 2024
1 parent 937d58e commit 2f40cb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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

0 comments on commit 2f40cb7

Please sign in to comment.