Skip to content

Commit

Permalink
ci: readme updated with workflow badge and publish on workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
raunakgurud09 committed Jan 30, 2024
1 parent 9d24143 commit b42e0b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: "Publish"

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
on: workflow_dispatch


jobs:
publish:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Buildt test](https://github.com/raunakgurud09/hashnode-publish/actions/workflows/test.yml/badge.svg)](https://github.com/raunakgurud09/hashnode-publish/actions/workflows/test.yml)

# hashnode-publish

This action checks-out your repository under `$GITHUB_WORKSPACE`, so your workflow can publish your md file to hashnode on push.
Expand Down

0 comments on commit b42e0b5

Please sign in to comment.