https://github.com/sergeysova/gist-read-action
https://github.com/sergeysova/gist-read-action
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sergeysova/gist-read-action
- Owner: sergeysova
- License: mit
- Created: 2020-05-27T15:25:55.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T05:48:23.000Z (about 3 years ago)
- Last Synced: 2025-03-11T11:50:28.506Z (over 1 year ago)
- Language: JavaScript
- Size: 48.8 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gist-Read v1
The action to read content of a gist to an output.
See also [gist-write](https://github.com/sergeysova/gist-write-action).
## Usage
See [action.yml](./action.yml)
## Example
Simple (just read content of a gist and echo it):
```yaml
steps:
- uses: sergeysova/gist-read-action@v1
id: example-gist
with:
gist_id: 7bcddb642d16d291959642fc60feec9b
file_name: example.txt
- name: show content
run: echo "Hello ${{ steps.example-gist.outputs.content }}"
```
## License
The scripts and documentation in this project are released under the [MIT License](./LICENSE)