Adapted version of sergeysova/gist-write-action
Changes:
- Changed Action Type (Docker > Javascript)
- Supports all runners now
- Removed redudant files
- Updated NPM packages to latest version
- Updated index.js (support seperate token input)
- Compiled & Minified to dist/index.js
See action.yml
Simple (just write content from input to a file to a gist):
steps:
- uses: Tomiha/gist-write-action@v2
with:
token: ${{secrets.TOKEN_WITH_GIST_WRITE_SCOPE}}
gist_id: 7bcddb642d16d291959642fc60feec9b
file_name: example.txt
content: "100"
The scripts and documentation in this project are released under the MIT License