File tree Expand file tree Collapse file tree 2 files changed +50
-3
lines changed
Expand file tree Collapse file tree 2 files changed +50
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Website
2+
3+ on :
4+ push :
5+ branches : [main]
6+
7+ jobs :
8+ # Build & upload the static files as an artifact
9+ build :
10+ defaults :
11+ run :
12+ working-directory : website
13+
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - name : Install Zola
18+ run : sudo snap install zola
19+ - name : Install TailwindCSS
20+ run : npm install @tailwindcss/cli
21+ - name : Build CSS
22+ - run : npx @tailwindcss/cli -m -i input.css -o static/main.css
23+ - name : Build site
24+ run : zola build
25+ - name : Upload static files as artifact
26+ uses : actions/upload-pages-artifact@v3
27+ with :
28+ path : public/
29+
30+ deploy :
31+ needs : build
32+
33+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
34+ permissions :
35+ pages : write # to deploy to Pages
36+ id-token : write # to verify the deployment originates from an appropriate source
37+
38+ # Deploy to the github-pages environment
39+ environment :
40+ name : github-pages
41+ url : ${{ steps.deployment.outputs.page_url }}
42+
43+ runs-on : ubuntu-latest
44+ steps :
45+ - name : Deploy to GitHub Pages
46+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 11{
2- "devDependencies" : {
3- "rustywind" : " ^0.24" ,
4- "tailwindcss" : " ^4.1" ,
2+ "dependencies" : {
53 "@tailwindcss/cli" : " ^4.1"
4+ },
5+ "devDependencies" : {
6+ "rustywind" : " ^0.24"
67 }
78}
You can’t perform that action at this time.
0 commit comments