ultimate-jekyll-manager 1.9.32 → 1.9.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
uses: actions/checkout@v7
|
|
40
40
|
with:
|
|
41
41
|
token: ${{ secrets.GH_TOKEN }}
|
|
42
|
-
fetch-depth:
|
|
42
|
+
fetch-depth: 1
|
|
43
43
|
- name: Setup ruby
|
|
44
44
|
uses: ruby/setup-ruby@v1
|
|
45
45
|
with:
|
|
@@ -104,10 +104,15 @@ jobs:
|
|
|
104
104
|
- name: Log all files in repo
|
|
105
105
|
run: |
|
|
106
106
|
echo "All files in the repo: "
|
|
107
|
-
ls
|
|
107
|
+
git ls-files
|
|
108
|
+
- name: Log disk usage (before build)
|
|
109
|
+
run: df -h /
|
|
108
110
|
- name: Run node build
|
|
109
111
|
run: |
|
|
110
112
|
UJ_BUILD_MODE=true UJ_IS_SERVER=true npx uj setup && npm run build
|
|
113
|
+
- name: Log disk usage (after build)
|
|
114
|
+
if: always()
|
|
115
|
+
run: df -h /
|
|
111
116
|
# - name: Delete gh-pages branch
|
|
112
117
|
# continue-on-error: true
|
|
113
118
|
# run: |
|
|
@@ -120,6 +125,7 @@ jobs:
|
|
|
120
125
|
with:
|
|
121
126
|
github_token: ${{ secrets.GH_TOKEN }}
|
|
122
127
|
publish_dir: ./_site
|
|
128
|
+
force_orphan: true
|
|
123
129
|
# enable_jekyll: true
|
|
124
130
|
- name: Purge CloudFlare cache
|
|
125
131
|
run: npx uj cloudflare-purge
|