File tree Expand file tree Collapse file tree 1 file changed +10
-32
lines changed
Expand file tree Collapse file tree 1 file changed +10
-32
lines changed Original file line number Diff line number Diff line change 4040 with :
4141 node-version : " 18"
4242
43+ - name : Setup Ruby
44+ uses : ruby/setup-ruby@v1
45+ with :
46+ ruby-version : 2.6
47+ bundler-cache : true
48+
4349 - name : Build Assets
4450 run : npm ci && npm run prod
4551
4955 poetry install --no-root --only main
5056 poetry run python bin/website build
5157
52- - name : Start Deployment
53- uses : bobheadxi/deployments@v1
54- id : deployment
55- with :
56- step : start
57- token : ${{ secrets.GITHUB_TOKEN }}
58- env : Preview
59-
6058 - name : Build
61- run : npx hugo --buildDrafts --buildFuture --logLevel info
59+ run : npx hugo --minify --logLevel info
6260
63- - name : Deploy
64- uses : amondnet/vercel-action@v25
65- id : vercel-action
66- with :
67- vercel-version : 39.1.3
68- vercel-token : ${{ secrets.VERCEL_TOKEN }}
69- github-token : ${{ secrets.GITHUB_TOKEN }}
70- vercel-org-id : ${{ secrets.VERCEL_ORG_ID }}
71- vercel-project-id : ${{ secrets.VERCEL_PROJECT_ID }}
72- scope : python-poetry
73- github-comment : true
74- working-directory : public
75-
76- - name : Update Deployment Status
77- uses : bobheadxi/deployments@v1
78- if : always()
79- with :
80- step : finish
81- token : ${{ secrets.GITHUB_TOKEN }}
82- status : ${{ job.status }}
83- deployment_id : ${{ steps.deployment.outputs.deployment_id }}
84- env_url : ${{ steps.vercel-action.outputs.preview-url }}
85- env : ${{ steps.deployment.outputs.env }}
61+ - name : Build search index
62+ run : |
63+ bundle exec bin/build_index.rb
You can’t perform that action at this time.
0 commit comments