Skip to content

Commit

Permalink
Merge pull request #3 from hyphacoop/bittorrent
Browse files Browse the repository at this point in the history
Add bittorrent to site creation options
  • Loading branch information
RangerMauve authored Jul 6, 2023
2 parents 6c164cd + c7490ec commit ba42cc9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ jobs:
deploy_http: false
deploy_hyper: true
deploy_ipfs: true
deploy_bittorrent: true
...
```
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ inputs:
description: "Whether to deploy via IPFS"
required: false
default: true
deploy_bittorrent:
description: "Whether to deploy via BitTorrent"
required: false
default: true
branding:
icon: box
color: purple
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ let protocols = {
http: core.getBooleanInput('deploy_http'),
hyper: core.getBooleanInput('deploy_hyper'),
ipfs: core.getBooleanInput('deploy_ipfs'),
bittorrent: core.getBooleanInput('deploy_bittorrent'),
};

const headers = {
Expand Down

0 comments on commit ba42cc9

Please sign in to comment.