Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 7, 2021. It is now read-only.

Deep-Cold-Storage/dev-box

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Example Gist

Dev-Box

Pinnable dynamic Gist with your latest Dev.to post!


License: GPL v3

Dev-Box is a simple GitHub Action built to make dynamic Gist displaying your latest post from Dev.to


πŸŽ‰ Usage

To start, you need to prepare some things:


After getting this done:

  • Fork this repository.

  • Go to your fork's Settings > Secrets page add the following secrets:

    • DEVTO_USERNAME - Your username from Dev.to
    • GH_TOKEN - The access token you saved earlier.
    • GIST_ID - The ID of your newly created public Gist.

    It will look like this:
    https://gist.github.com/RangerDigital/d1b79f73d3e5a2420ed370b0059dba42.

  • Delete a .github/workflows/schedule.yml file.

  • Create a .github/workflows/dev-box.yml file like this:

name: Update GitHub Gist with Dev-box!
on:
 schedule:
 - cron: '*/10 * * * *'
jobs:
 build:
 runs-on: ubuntu-latest
 steps:
 - uses: actions/checkout@master
 - name: Update latest post from Dev.to
 uses: rangerdigital/dev-box@master
 with:
 GH_TOKEN: ${{ secrets.GH_TOKEN }}
 GIST_ID: ${{ secrets.GIST_ID }}
 DEVTO_USERNAME: ${{ secrets.DEVTO_USERNAME }}

That's It!
Now every 10 minutes dev-box.yml workflow will update your Gist.


🚧 Contributing

You are more than welcome to help me improve Dev-Box!

Just fork this project from the master branch and submit a Pull Request (PR).


πŸ“ƒ License

This project is licensed under GPL-3.0 .

About

πŸ“š Pinnable dynamic Gist with your latest Dev.to post.

Topics

Resources

License

Stars

Watchers

Forks

Packages

Contributors

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /