File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 99 build :
1010 runs-on : ubuntu-latest
1111 name : Build and Push
12+
1213 steps :
1314 - name : checkout repo
1415 uses : actions/checkout@v4
@@ -19,22 +20,23 @@ jobs:
1920 gleam-version : " 1.7.0"
2021 elixir-version : " 1.18.0"
2122 rebar3-version : " 3"
23+
2224 - name : setup node
2325 uses : actions/setup-node@v3
2426 with :
2527 node-version : 20
28+
2629 - name : install js dependencies
2730 run : npm install tailwindcss
31+
2832 - name : build
2933 run : |
3034 gleam run -m build
3135 npx tailwindcss -i ./static/main.css -o ./priv/style.css
3236 echo "gearsco.de" > ./priv/CNAME
33- - name : push to site branch
34- uses : s0/git-publish-subdir-action@develop
35- env :
36- REPO : self
37- BRANCH : pages
38- FOLDER : priv
39- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40- MESSAGE : " {msg}"
37+
38+ - name : Deploy
39+ uses : peaceiris/actions-gh-pages@v3
40+ with :
41+ publish_dir : ./priv
42+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments