File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ name: Deploy LiaScript-Web-Site to Pages
3
3
on :
4
4
# Runs on pushes targeting the default branch
5
5
push :
6
- branches : ["development"]
6
+ branches :
7
+ - development
7
8
8
9
# Allows you to run this workflow manually from the Actions tab
9
10
workflow_dispatch :
@@ -47,18 +48,19 @@ jobs:
47
48
uses : actions/configure-pages@v5
48
49
- name : Install Node.js dependencies
49
50
run : " [[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
51
+ - name : Install PostCSS, Tailwind and Autoprefixer
52
+ run : npm install postcss postcss-cli tailwindcss autoprefixer
50
53
- name : Build with Hugo
51
54
env :
52
55
HUGO_CACHEDIR : ${{ runner.temp }}/hugo_cache
53
56
HUGO_ENVIRONMENT : production
54
- run : |
55
- hugo \
56
- --minify \
57
- --baseURL "${{ steps.pages.outputs.base_url }}/"
57
+ run : " npm run build"
58
58
- name : Upload artifact
59
59
uses : actions/upload-pages-artifact@v3
60
60
with :
61
61
path : ./public
62
+ - name : show files
63
+ run : ls -la public
62
64
63
65
# Deployment job
64
66
# deploy:
You can’t perform that action at this time.
0 commit comments