khanhicetea / gh-actions-rpc-ping

Github Action for RPC ping

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RPC PING Github Action

GitHub Action for ping website via XML-RPC.

Secrets

NOTHING

Environment Variables

  • PING_TITLE : required,Your website, blog title
  • PING_URL : required, URL want to ping
  • RPC_ENDPOINT : optinal, RPC Endpoint, default is http://rpc.pingomatic.com/

Example

main.workflow

workflow "Deploy to GitHub Pages" {
  on = "push"
  resolves = ["rpc-ping"]
}

action "hugo-deploy-gh-pages" {
  uses = "khanhicetea/gh-actions-hugo-deploy-gh-pages@master"
  secrets = [
    "GIT_DEPLOY_KEY",
  ]
}

action "rpc-ping" {
  uses = "khanhicetea/gh-actions-rpc-ping@master"
  env = {
    PING_TITLE = "KhanhIceTea B(rain)-log"
    PING_URL = "https://khanhicetea.com"
  }
  needs = ["hugo-deploy-gh-pages"]
}

Example site

LICENSE

Copyright (c) 2019

Licensed under the MIT License.

About

Github Action for RPC ping


Languages

Language:Dockerfile 61.7%Language:Shell 38.3%