Skip to content
GitHub Actions for Pixela (a-know/pi)
Dockerfile
Branch: master
Clone or download
peaceiris migrate: GitHub Actions beta v2 (#4)
* migrate: Docker Image CI workflow to GitHub Actions beta v2

* update: Add GitHub Actions v2 YAML config file example, Remove v1 HCL config file example
Latest commit 556cc8b Aug 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows migrate: GitHub Actions beta v2 (#4) Aug 21, 2019
images add: images May 10, 2019
.dockerignore add: .github to .dockerignore May 22, 2019
Dockerfile upgrade: pi v1.1.0 (#2) Jul 26, 2019
LICENSE add: Dockerfile May 7, 2019
README.md migrate: GitHub Actions beta v2 (#4) Aug 21, 2019

README.md

license release GitHub release date GitHub Actions status

GitHub Actions for Pixela (a-know/pi)

GitHub Actions for Pixela

Getting started

(1) Add secret variables

  1. Go to Settings > Secrets.
  2. Add your PIXELA_USER_TOKEN as a new secret.

(2) Create .github/workflows/pixela.yml

name: pixela

on: push

jobs:

  increment:
    runs-on: ubuntu-18.04
    steps:
    - uses: actions/checkout@master
    - name: increment
      uses: peaceiris/actions-pixela@v1.1.0
      if: github.event.deleted == false
      env:
        PIXELA_USER_TOKEN: ${{ secrets.PIXELA_USER_TOKEN }}
      with:
        args: pixel increment -u <username> -g <graph-id>

Example

Push count of peaceiris's blog repository (private repository)

Push count of peaceiris's blog repository (private repository)

License

MIT License - peaceiris/actions-pixela

About the author

You can’t perform that action at this time.