Skip to content

Commit

Permalink
feat: simplified workflow to add next to ipfs (#981)
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Dias <mail@hugodias.me>
  • Loading branch information
olizilla and hugomrdias committed Jul 16, 2020
1 parent ba5c325 commit 3bcdd93
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/add-next-to-ipfs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Add to IPFS

on: [push]

jobs:
add-next-to-ipfs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-go@v2
with:
go-version: '1.14.4'

- uses: actions/setup-node@v2-beta
with:
node-version: '12'

- run: npm install
- run: npm run build

- uses: ipfs-shipyard/ipfs-github-action@v1.0.0
with:
path_to_add: public
cluster_host: /dnsaddr/cluster.ipfs.io
cluster_user: ${{ secrets.CLUSTER_USER }}
cluster_password: ${{ secrets.CLUSTER_PASSWORD }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

```sh
git clone https://github.com/filecoin-project/specs.git
cd next # until we move this top level
yarn install
```

Expand Down

0 comments on commit 3bcdd93

Please sign in to comment.