You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/main.yml
+1-25Lines changed: 1 addition & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -23,36 +23,12 @@ jobs:
23
23
# repository: davidgs/Translator
24
24
# path: ./translate
25
25
- name: cleanup
26
-
run: ls -la /home/runner/work/DavidgsWeb/DavidgsWeb/DavidgsWeb/public/sitemap.xml; rm -f /home/runner/work/DavidgsWeb/DavidgsWeb/DavidgsWeb/public/sitemap.xml; ls -la /home/runner/work/DavidgsWeb/DavidgsWeb/DavidgsWeb/public/sitemap.xml
26
+
run: ls -RAGl /home/runner/work/DavidgsWeb/DavidgsWeb/; rm -f /home/runner/work/DavidgsWeb/DavidgsWeb/DavidgsWeb/public/sitemap.xml; ls -RAGl /home/runner/work/DavidgsWeb/DavidgsWeb/DavidgsWeb/public/
27
27
- name: Setup Hugo
28
28
uses: peaceiris/actions-hugo@v3
29
29
with:
30
30
hugo-version: '0.154.5'
31
31
extended: true
32
-
# - name: Golang
33
-
# uses: actions/checkout@master
34
-
# - name: Setup go
35
-
# uses: actions/setup-go@v1
36
-
# with:
37
-
# go-version: '1.16.3'
38
-
# - name: Build Translator
39
-
# run: cd ./translate; go build translate.go
40
-
# - name: Create Secret
41
-
# uses: jsdaniell/create-json@1.1.2
42
-
# with:
43
-
# name: "./translate/google-secret.json"
44
-
# json: ${{ secrets.TRANSLATE_SECRET }}
45
-
# - name: Translate
46
-
# run: cd ./translate; ./translate ../DavidgsWeb/content/posts/
47
-
# - name: ReCommit
48
-
# uses: stefanzweifel/git-auto-commit-action@v4
49
-
# with:
50
-
# # Optional, but recommended
51
-
# # Defaults to "Apply automatic changes"
52
-
# commit_message: Auto-Translations
53
-
# # branch: main
54
-
# # file_pattern: index.*.md
55
-
# repository: ./DavidgsWeb
56
32
- name: Build
57
33
run: rm -f /home/runner/work/DavidgsWeb/DavidgsWeb/DavidgsWeb/public/sitemap.xml; cd DavidgsWeb; hugo mod get; hugo mod npm pack; npm install; hugo --minify
0 commit comments