Update CI workflow
This commit is contained in:
parent
77de85d88e
commit
980032be52
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -1,6 +1,8 @@
|
|||
name: ci
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 10 * * *' # everyday at 10am
|
||||
push:
|
||||
branches:
|
||||
- 'dev'
|
||||
|
|
|
@ -14,7 +14,9 @@ If you are interested, [check out](https://git.io/Je09Y) my other :octocat: GitH
|
|||
|
||||
## Usage
|
||||
|
||||
Below is a simple snippet to deploy to GitHub Pages:
|
||||
Below is a simple snippet to deploy to GitHub Pages with a dummy HTML page.
|
||||
|
||||
A [workflow](https://github.com/crazy-max/ghaction-github-pages/actions?query=workflow%3Aci) is also available for this repository and deploys [everyday to GitHub pages](https://crazy-max.github.io/ghaction-github-pages/).
|
||||
|
||||
```yaml
|
||||
name: website
|
||||
|
@ -29,7 +31,7 @@ jobs:
|
|||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: Build
|
||||
name: Gen dummy page
|
||||
run: |
|
||||
mkdir public
|
||||
cat > public/index.html <<EOL
|
||||
|
@ -54,8 +56,6 @@ jobs:
|
|||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
||||
A [test workflow](https://github.com/crazy-max/ghaction-github-pages/actions?query=workflow%3Atest) is also available for this repository and deploys to GitHub pages at https://crazy-max.github.io/ghaction-github-pages/.
|
||||
|
||||
## Customizing
|
||||
|
||||
### inputs
|
||||
|
|
Loading…
Reference in New Issue
Block a user