mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 22:29:17 +08:00
gha: Add checkout step
This commit is contained in:
parent
3514e583e0
commit
dbec91074d
@ -10,6 +10,10 @@ jobs:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
fetch-depth: 1
|
||||
|
||||
- run: |
|
||||
IMAGE_LIST=$(curl -sL https://github.com/${GITHUB_REPOSITORY} | \
|
||||
grep -oE '<img src="https?://camo.githubusercontent.com/[^"]+' | \
|
||||
|
Loading…
x
Reference in New Issue
Block a user