File tree Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Original file line number Diff line number Diff line change 74
74
runs-on : ubuntu-latest
75
75
if : github.event_name == 'push' || needs.check.outputs.cacheHit != 'true'
76
76
steps :
77
+ - uses : actions/setup-go@v5
78
+ with :
79
+ go-version : ' 1.18.1'
80
+
77
81
- uses : actions/checkout@v4
78
82
79
83
- name : Cache Zotero Bibliography
@@ -107,7 +111,7 @@ jobs:
107
111
- name : Setup Hugo
108
112
uses : peaceiris/actions-hugo@v3
109
113
with :
110
- hugo-version : ' 0.127.0 '
114
+ hugo-version : ' 0.133.1 '
111
115
extended : true
112
116
113
117
- name : Setup Node
@@ -120,11 +124,12 @@ jobs:
120
124
- run : npm install --verbose
121
125
122
126
- name : Build
123
- run : hugo -e $hugoEnvironment
127
+ run : hugo -e $hugoEnvironment -d ~/temp/deploy
124
128
125
- - name : Deploy
126
- uses : peaceiris/actions-gh-pages@v4
127
- if : github.ref == 'refs/heads/main'
128
- with :
129
- github_token : ${{ secrets.GITHUB_TOKEN }}
130
- publish_dir : ./public
129
+
130
+ # - name: Deploy
131
+ # uses: peaceiris/actions-gh-pages@v4
132
+ # if: github.ref == 'refs/heads/main'
133
+ # with:
134
+ # github_token: ${{ secrets.GITHUB_TOKEN }}
135
+ # publish_dir: ./public
Original file line number Diff line number Diff line change
1
+ # Production robots.txt
2
+ #
3
+ User-agent: *
4
+ Allow: /
Original file line number Diff line number Diff line change
1
+ # Placeholder file. Overwritten in production by setting enableRobotsTXT to true
2
+ # See config/production/hugo.yaml
3
+ #
1
4
User-agent: *
2
- Allow : /
5
+ Disallow : /
You can’t perform that action at this time.
0 commit comments