File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 41
41
extended : true
42
42
43
43
- name : Build
44
- run : hugo --gc --minify --cleanDestinationDir
44
+ run : |
45
+ ls -l ./themes/
46
+ hugo --gc --minify --cleanDestinationDir
45
47
46
48
- name : Upload artifact
47
49
uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change 13
13
# Allows you to run this workflow manually from the Actions tab
14
14
workflow_dispatch :
15
15
16
+ concurrency :
17
+ group : deploy-pages
18
+ cancel-in-progress : true
19
+
16
20
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17
21
jobs :
18
22
# This workflow contains a single job called "build"
29
33
- name : Get twikoo version
30
34
id : twikoo
31
35
run : |
32
- ls -l ./.github/workflows
33
36
version=$(curl -s https://raw.githubusercontent.com/Liudon/twikoo-netlify/main/package.json | jq -r '.dependencies."twikoo-netlify"')
34
37
echo "Twikoo version: $version"
35
38
echo "twikoo_version=$version" >> $GITHUB_OUTPUT
59
62
name : Build and Publish IPFS
60
63
uses : ./.github/workflows/ipfs.yml
61
64
needs :
62
- - start
65
+ - github_pages
63
66
64
67
end :
65
68
runs-on : ubuntu-latest
77
80
chmod +x ./easyindex-cli
78
81
./easyindex-cli google -d -c ./url.csv
79
82
needs :
80
- - github_pages
83
+ - ipfs
You can’t perform that action at this time.
0 commit comments