File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy LiaScript Test Website
2+
3+ on :
4+ repository_dispatch :
5+ types : [trigger-build]
6+
7+ permissions :
8+ contents : write
9+ pages : write
10+ id-token : write
11+
12+ defaults :
13+ run :
14+ shell : bash
15+
16+ jobs :
17+ build :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Download LiaScript test branch
21+ run : git clone --branch test https://github.com/LiaScript/LiaScript.git
22+
23+ - name : Set up Node.js
24+ uses : actions/setup-node@v3
25+ with :
26+ node-version : " 20"
27+
28+ - name : Set ELM_HOME
29+ run : echo "ELM_HOME=${GITHUB_WORKSPACE}/.elm" >> $GITHUB_ENV
30+
31+ # build LiaScript
32+ - name : LiaScript - download
33+ run : git clone --branch development https://github.com/LiaScript/LiaScript.git
34+ - name : LiaScript - prebuild
35+ run : |
36+ cd LiaScript
37+ npm install
38+ npm run prebuild
39+ - name : LiaScript - patches
40+ run : |
41+ cd LiaScript
42+ git submodule update --init --recursive
43+ cd patches
44+ make
45+ cd ..
46+ rm -rf elm-stuff .parcel-cache
47+ - name : LiaScript - build
48+ run : |
49+ cd LiaScript
50+ make all2 KEY="${{ secrets.RESPONSIVEVOICE_KEY }}"
51+
52+ - name : Deploy to GitHub Pages
53+ uses : peaceiris/actions-gh-pages@v3
54+ with :
55+ github_token : ${{ secrets.GITHUB_TOKEN }}
56+ publish_dir : ./LiaScript/dist
57+ publish_branch : gh-pages
Original file line number Diff line number Diff line change 1- # test
2- Test project for upcomming LiaScript versions
1+ # Testing for LiaScript
2+
3+ This is used for testing purposes of LiaScript only ...
4+
5+ Create new testing branch by:
6+
7+ ``` bash
8+ git checkout test
9+ git reset --hard new/branch
10+ git push origin test -f
11+ ```
12+
13+ ... this will trigger a rebuild of the test branch, which will be deployed to:
14+
15+ https://liascript.github.io/test
You can’t perform that action at this time.
0 commit comments