Update workflows
This commit is contained in:
parent
071043bf3d
commit
f59aa1409d
6
.github/workflows/dev.yml
vendored
6
.github/workflows/dev.yml
vendored
|
@ -12,11 +12,7 @@ jobs:
|
||||||
-
|
-
|
||||||
# https://github.com/actions/checkout
|
# https://github.com/actions/checkout
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
-
|
|
||||||
# https://github.com/actions/checkout/issues/6
|
|
||||||
name: Fix detached HEAD
|
|
||||||
run: git checkout ${GITHUB_REF#refs/heads/}
|
|
||||||
-
|
-
|
||||||
name: Build
|
name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|
2
.github/workflows/labels.yml
vendored
2
.github/workflows/labels.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
||||||
-
|
-
|
||||||
# https://github.com/actions/checkout
|
# https://github.com/actions/checkout
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
-
|
-
|
||||||
# https://github.com/crazy-max/ghaction-github-labeler
|
# https://github.com/crazy-max/ghaction-github-labeler
|
||||||
name: Run Labeler
|
name: Run Labeler
|
||||||
|
|
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
-
|
-
|
||||||
# https://github.com/actions/checkout
|
# https://github.com/actions/checkout
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
-
|
-
|
||||||
# https://github.com/actions/setup-node
|
# https://github.com/actions/setup-node
|
||||||
name: Set up Node
|
name: Set up Node
|
||||||
|
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
-
|
-
|
||||||
name: Build
|
name: Build
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -12,7 +12,7 @@ If you are interested, [check out](https://git.io/Je09Y) my other :octocat: GitH
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Below is a simple snippet to deploy to GitHub Pages. 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/.
|
Below is a simple snippet to deploy to GitHub Pages:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
name: website
|
name: website
|
||||||
|
@ -25,7 +25,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v2
|
||||||
-
|
-
|
||||||
name: Build
|
name: Build
|
||||||
run: |
|
run: |
|
||||||
|
@ -42,7 +42,7 @@ jobs:
|
||||||
</html>
|
</html>
|
||||||
EOL
|
EOL
|
||||||
-
|
-
|
||||||
name: Deploy
|
name: Deploy to GitHub Pages
|
||||||
if: success()
|
if: success()
|
||||||
uses: crazy-max/ghaction-github-pages@v1
|
uses: crazy-max/ghaction-github-pages@v1
|
||||||
with:
|
with:
|
||||||
|
@ -52,6 +52,8 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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
|
## Customizing
|
||||||
|
|
||||||
### inputs
|
### inputs
|
||||||
|
|
Loading…
Reference in New Issue
Block a user