Created
September 17, 2021 23:16
-
-
Save SoftCreatR/6f4d6296f0e1b2f05ba07220be1483fb to your computer and use it in GitHub Desktop.
Sample GitHub Workflow for https://github.com/SoftCreatR/ipfs-file-uploader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: [push] | |
jobs: | |
build: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '14' | |
cache: 'yarn' | |
- run: yarn global add go-ipfs && ipfs init | |
- run: yarn install | |
- run: yarn deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment