File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
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,19 +48,24 @@ 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
53
+ - name : Install Python
54
+ run : sudo apt-get install python3
55
+ - name : Build World-Map
56
+ run : " cd world-map && python3 generate.py"
50
57
- name : Build with Hugo
51
58
env :
52
59
HUGO_CACHEDIR : ${{ runner.temp }}/hugo_cache
53
60
HUGO_ENVIRONMENT : production
54
- run : |
55
- hugo \
56
- --minify \
57
- --baseURL "${{ steps.pages.outputs.base_url }}/"
61
+ run : " npm run build"
58
62
- name : Upload artifact
59
63
uses : actions/upload-pages-artifact@v3
60
64
with :
61
65
path : ./public
62
-
66
+ - name : show files
67
+ run : ls -la public
68
+
63
69
# Deployment job
64
70
# deploy:
65
71
# environment:
You can’t perform that action at this time.
0 commit comments