Skip to content

Commit 4678d92

Browse files
committed
debug
1 parent face7f3 commit 4678d92

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
extended: true
4242

4343
- name: Build
44-
run: hugo --gc --minify --cleanDestinationDir
44+
run: |
45+
ls -l ./themes/
46+
hugo --gc --minify --cleanDestinationDir
4547
4648
- name: Upload artifact
4749
uses: actions/upload-pages-artifact@v3

.github/workflows/main.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
# Allows you to run this workflow manually from the Actions tab
1414
workflow_dispatch:
1515

16+
concurrency:
17+
group: deploy-pages
18+
cancel-in-progress: true
19+
1620
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1721
jobs:
1822
# This workflow contains a single job called "build"
@@ -29,7 +33,6 @@ jobs:
2933
- name: Get twikoo version
3034
id: twikoo
3135
run: |
32-
ls -l ./.github/workflows
3336
version=$(curl -s https://raw.githubusercontent.com/Liudon/twikoo-netlify/main/package.json | jq -r '.dependencies."twikoo-netlify"')
3437
echo "Twikoo version: $version"
3538
echo "twikoo_version=$version" >> $GITHUB_OUTPUT
@@ -59,7 +62,7 @@ jobs:
5962
name: Build and Publish IPFS
6063
uses: ./.github/workflows/ipfs.yml
6164
needs:
62-
- start
65+
- github_pages
6366

6467
end:
6568
runs-on: ubuntu-latest
@@ -77,4 +80,4 @@ jobs:
7780
chmod +x ./easyindex-cli
7881
./easyindex-cli google -d -c ./url.csv
7982
needs:
80-
- github_pages
83+
- ipfs

0 commit comments

Comments
 (0)