All Projects → exuanbo → actions-deploy-gist

exuanbo / actions-deploy-gist

Licence: MIT license
📌 Deploy file to Github Gist

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to actions-deploy-gist

action-netlify-deploy
🙌 Netlify deployments via GitHub actions
Stars: ✭ 32 (+23.08%)
Mutual labels:  deploy, actions, github-actions
cfn-deploy
A useful GitHub Action to help you deploy cloudformation templates
Stars: ✭ 14 (-46.15%)
Mutual labels:  deploy, github-actions
recent-activity
Add your recent activity to your profile readme!
Stars: ✭ 87 (+234.62%)
Mutual labels:  actions, github-actions
github-stats-box
📌 Update a gist to contain your GitHub stats
Stars: ✭ 72 (+176.92%)
Mutual labels:  gist, github-actions
ftp-action
Automate copying your files via FTP using this GitHub action.
Stars: ✭ 90 (+246.15%)
Mutual labels:  deploy, github-actions
unity-test-runner
Run tests for any Unity project
Stars: ✭ 134 (+415.38%)
Mutual labels:  deploy, actions
Github Pages Deploy Action
Automatically deploy your project to GitHub Pages using GitHub Actions. This action can be configured to push your production-ready code into any branch you'd like.
Stars: ✭ 2,507 (+9542.31%)
Mutual labels:  deploy, github-actions
gh-pages-action
A GitHub Action to deploy a static site on GitHub Pages.
Stars: ✭ 26 (+0%)
Mutual labels:  actions, github-actions
actions-suggest-related-links
A GitHub Action to suggest related or similar issues, documents, and links. Based on the power of NLP and fastText.
Stars: ✭ 23 (-11.54%)
Mutual labels:  actions, github-actions
actions
Our Library of GitHub Actions
Stars: ✭ 49 (+88.46%)
Mutual labels:  actions, github-actions
action-homebrew-bump-formula
⚙️ A GitHub Action to easily bump Homebrew formula on new release
Stars: ✭ 68 (+161.54%)
Mutual labels:  actions, github-actions
Awesome Actions
A curated list of awesome actions to use on GitHub
Stars: ✭ 16,943 (+65065.38%)
Mutual labels:  actions, github-actions
Actions Gh Pages
GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
Stars: ✭ 2,576 (+9807.69%)
Mutual labels:  actions, github-actions
Actions Openwrt
A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 云编译 OpenWrt
Stars: ✭ 4,742 (+18138.46%)
Mutual labels:  actions, github-actions
ghaction-virustotal
GitHub Action to upload and scan files with VirusTotal
Stars: ✭ 105 (+303.85%)
Mutual labels:  actions, github-actions
jekyll-deploy-action
🪂 A Github Action to deploy the Jekyll site conveniently for GitHub Pages.
Stars: ✭ 162 (+523.08%)
Mutual labels:  deploy, actions
github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (+50%)
Mutual labels:  actions, github-actions
upx-action
Strips and runs upx on binaries
Stars: ✭ 17 (-34.62%)
Mutual labels:  actions, github-actions
juejin-actions
掘金每天自动签到 github actions 。组织了每周一起学习200行左右的【源码共读】活动,感兴趣可以加我微信 ruochuan12 参与。
Stars: ✭ 47 (+80.77%)
Mutual labels:  actions, github-actions
clang-format-action
GitHub Action for clang-format checking
Stars: ✭ 48 (+84.62%)
Mutual labels:  actions, github-actions

Deploy to Gist

GitHub release (latest by date) GitHub Workflow Status (branch) libera manifesto

This is a Github Action to deploy file to Github Gist.

Quick start

- uses: actions/checkout@v3
- name: Deploy
  uses: exuanbo/actions-deploy-gist@v1
  with:
    token: ${{ secrets.TOKEN }}
    gist_id: from_gist_url
    file_path: build/book.pdf
    file_type: binary

Setup

Prep work

  1. Create a gist (public or secret) if you don't have one.
  2. Generate a new Personal access token. Only the gist scope is needed.

Project setup

  1. Go to the repo Settings > Secrets. Add the generated token with name TOKEN.
  2. Edit workflow file .github/workflows/deploy.yml as the example above.

Options

token

Personal access token for updating gist.

gist_id

Id portion from the gist url, e.g. https://gist.github.com/exuanbo/e885afa349a0e5d1cfb408e46d6a37bc.

gist_description (optional)

Description of the gist.

gist_file_name (optional)

Name of the file to be added in the gist. If not provided, the original file name from file_path will be used.

file_path

Relative to the current repo's root directory, e.g. dist/foo.bar.

file_type (optional)

Default to text. It should be set to binary if the file is image, pdf, etc.

License

MIT License © 2021 Exuanbo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].