https://github.com/Pwd9000-ML/blog-devto
Dev.to blog posts
https://github.com/Pwd9000-ML/blog-devto
azure azuredevops blogs devops github powershell terraform
Last synced: 3 months ago
JSON representation
Dev.to blog posts
- Host: GitHub
- URL: https://github.com/Pwd9000-ML/blog-devto
- Owner: Pwd9000-ML
- License: mit
- Created: 2021-05-02T10:17:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-27T23:48:45.000Z (11 months ago)
- Last Synced: 2024-11-28T00:28:18.657Z (11 months ago)
- Topics: azure, azuredevops, blogs, devops, github, powershell, terraform
- Language: PowerShell
- Homepage: https://dev.to/pwd9000
- Size: 54.6 MB
- Stars: 29
- Watchers: 4
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - Pwd9000-ML/blog-devto - Dev.to blog posts (PowerShell)
README
# Devto - Blog - Status
## Build Status
[](https://github.com/Pwd9000-ML/blog-devto/actions/workflows/publish-to-devto.yml) [](https://dependabot.com/)
## How to
### How to find the ID of a blog post on dev.to?
Unfortunately, dev.to does not display the ID of the blog post on the page. So once it's created, you can open your browser console (Usually F12 OR 'Option + ⌘ + J' (on macOS), or 'Shift + CTRL + J' (on Windows/Linux)) and paste the following code to retrieve the blog post ID:
`$('div[data-article-id]').getAttribute('data-article-id')`
If anyone knows of an easier way please help by submitting a PR here. :smile:
### How to test locally with yarn?
- Install Yarn and navigate to the repo root. Run `Yarn` to download `node_modules` and dependencies described in `package.json`. This will also update / create `yarn.lock`
- `package.json` also contains some scripts that can then be run locally for `prettier` and `embedme`. Also used in the Github Action when a post is published