Skip to content

adobe-rnd/github-purge-cache-action

Repository files navigation

Github Trigger CI Action

Purges the helix pages cache on push.

Inputs

repo-token

Required A github token to issue the dummy commit.

helix-url

Optional Base url of the helix pages instance. Uses ref--repo--owner.hlx.page by default.

Example usage

Add a yaml file with the following contents inside .github/workflows, as described in github actions quick start.

on: push

jobs:
  ci_trigger:
    runs-on: ubuntu-latest
    name: Clear helix pages cache
    steps:
      - name: Trigger
        id: trigger
        uses: adobe-rnd/github-purge-cache-action@master
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}

Development

Please run the build script before release to regenerate dist/index.html

$ npm run build
$ git commit -am "..."
$ git push

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published