diff options
author | seancarroll <seanc28@gmail.com> | 2021-03-23 21:48:35 -0500 |
---|---|---|
committer | seancarroll <seanc28@gmail.com> | 2021-03-23 21:48:35 -0500 |
commit | 2f7ecf77781f181b8de178e0ec2f4a37a958a412 (patch) | |
tree | ebf2f33bbdb82f9bd811baf1bb0972542f6191ea | |
parent | 2ca88b761bc706d81f0f9d6dec7997807df4a0e2 (diff) | |
download | dotavious-2f7ecf77781f181b8de178e0ec2f4a37a958a412.zip |
make publish a manaul trigger
-rw-r--r-- | .github/workflows/CI.yml | 4 | ||||
-rw-r--r-- | .github/workflows/Publish.yml | 17 |
2 files changed, 17 insertions, 4 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d4ed039..4dd1560 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,7 +20,3 @@ jobs: run: cargo build --verbose - name: Run tests run: cargo test --verbose - - name: Publish - run: | - cargo login ${{ secrets.CARGO_API_KEY }} - cargo publish diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml new file mode 100644 index 0000000..11a9355 --- /dev/null +++ b/.github/workflows/Publish.yml @@ -0,0 +1,17 @@ +name: Publish + +on: workflow_dispatch + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Publish + run: | + cargo login ${{ secrets.CARGO_API_KEY }} + cargo publish
\ No newline at end of file |