Deployed to github pages
This commit is contained in:
@@ -25,7 +25,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
- uses: pre-commit/[email protected].1
|
- uses: pre-commit/[email protected].2
|
||||||
```
|
```
|
||||||
|
|
||||||
This does a few things:
|
This does a few things:
|
||||||
@@ -43,7 +43,7 @@ Here's a sample step configuration that only runs the `flake8` hook against all
|
|||||||
the files (use the template above except for the `pre-commit` action):
|
the files (use the template above except for the `pre-commit` action):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: pre-commit/[email protected].1
|
- uses: pre-commit/[email protected].2
|
||||||
with:
|
with:
|
||||||
extra_args: flake8 --all-files
|
extra_args: flake8 --all-files
|
||||||
```
|
```
|
||||||
@@ -68,7 +68,7 @@ pushing
|
|||||||
next is passing the token to the pre-commit action
|
next is passing the token to the pre-commit action
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: pre-commit/[email protected].1
|
- uses: pre-commit/[email protected].2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user