adobe-rnd / github-purge-cache-action Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
the outer CDN url should be optional
that the primary use of the purge action is to purge the outer CDN (and the inner CDN).
i think that keeping the inner CDN in sync with the content/code especially with github is something that needs to happen automatically and in that sense i would rather separate that from this action. i am worried that if we get to a place where we require purging on commits for the inner CDN we will start making the initial hurdle for someone to get started with a helix project higher.
so in my mind this is acceptable complexity for someone who goes live with a helix project on a real domain, but not for someone who is in development.
please output all the files that were purged, so that the developer has a way to verify that the action works.
suggest an input property 'include':
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.MY_GITHUB_TOKEN }}
include:
- /scripts*
- /styles*
the filtering should use https://www.npmjs.com/package/glob
i think it would be great if the repo-token
was optional as it is not immediately clear why a regular helix pages project (which lives in a public repo and has very few pushes) would require that, it may very well be that it is optional already, the documentation in the README.md suggests it is required.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
package.json
@actions/core ^1.2.6
@actions/github ^4.0.0
ferrum ^1.7.0
phin ^3.5.0
@zeit/ncc ^0.22.3
currently, helix-pages only supports a default branch of master
, but in the future this might change.
the purge action should not hardcode master
for getting the diff, but use either the default branch of github, or make it configurable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.