File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 9
9
build :
10
10
runs-on : ubuntu-latest
11
11
name : Build and Push
12
+
12
13
steps :
13
14
- name : checkout repo
14
15
uses : actions/checkout@v4
@@ -19,22 +20,23 @@ jobs:
19
20
gleam-version : " 1.7.0"
20
21
elixir-version : " 1.18.0"
21
22
rebar3-version : " 3"
23
+
22
24
- name : setup node
23
25
uses : actions/setup-node@v3
24
26
with :
25
27
node-version : 20
28
+
26
29
- name : install js dependencies
27
30
run : npm install tailwindcss
31
+
28
32
- name : build
29
33
run : |
30
34
gleam run -m build
31
35
npx tailwindcss -i ./static/main.css -o ./priv/style.css
32
36
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