generated from calcit-lang/calcit-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1,585 additions
and
549 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
|
||
calcit.cirru -diff linguist-generated | ||
yarn.lock -diff linguist-generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Test page building | ||
name: Upload | ||
|
||
on: | ||
push: | ||
|
@@ -12,20 +12,26 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v1 | ||
- name: wget | ||
run: mkdir bin/ && wget -O bin/cr_once http://bin.calcit-lang.org/linux/cr_once | ||
run: mkdir ci-bin/ && wget -O ci-bin/cr http://repo.calcit-lang.org/binaries/linux/cr | ||
- name: "permission" | ||
run: chmod +x bin/cr_once | ||
run: chmod +x ci-bin/cr | ||
|
||
- name: "prepare modules" | ||
run: > | ||
mkdir -p ~/.config/calcit/modules/ | ||
&& cd ~/.config/calcit/modules/ | ||
&& git clone https://github.com/calcit-lang/stir-template --branch=0.0.2 | ||
mkdir -p ~/.config/calcit/modules/ && cd ~/.config/calcit/modules/ | ||
&& git clone https://github.com/calcit-lang/lilac.git | ||
&& git clone https://github.com/calcit-lang/memof.git | ||
&& git clone https://github.com/Respo/respo.calcit.git | ||
&& git clone https://github.com/Respo/reel.calcit.git --branch 0.5.3 | ||
&& git clone https://github.com/Respo/respo-markdown.calcit.git | ||
&& git clone https://github.com/Respo/respo-ui.calcit.git | ||
- name: "build page" | ||
run: ./bin/cr_once | ||
- name: "compiles to js" | ||
run: > | ||
./ci-bin/cr --emit-js --once | ||
&& yarn && yarn vite build --base=./ | ||
- name: upload HTML to server | ||
- name: Deploy to server | ||
id: deploy | ||
uses: Pendect/[email protected] | ||
env: | ||
|
@@ -34,8 +40,8 @@ jobs: | |
flags: '-avzr --progress' | ||
options: '' | ||
ssh_options: '' | ||
src: 'index.html' | ||
dest: 'rsync-user@calcit-lang.org:/web-assets/repo/calcit-lang/calcit-lang.org/' | ||
src: 'dist/*' | ||
dest: 'rsync-user@tiye.me:/web-assets/repo/${{ github.repository }}' | ||
|
||
- name: display status from deploy | ||
- name: Display status from deploy | ||
run: echo "${{ steps.deploy.outputs.status }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
.compact-inc.cirru | ||
.calcit-error.cirru | ||
|
||
index.html | ||
js-out/ | ||
node_modules/ | ||
dist/ |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/> | ||
<link rel="stylesheet" type="text/css" href="http://cdn.tiye.me/favored-fonts/main-fonts.css"> | ||
|
||
<style type="text/css"> | ||
body { | ||
margin: 0; | ||
overscroll-behavior-y: none; | ||
} | ||
|
||
body * { | ||
flex-shrink: 0; | ||
box-sizing: border-box; | ||
} | ||
|
||
::-webkit-scrollbar { | ||
width: 4px; | ||
height: 4px; | ||
} | ||
|
||
::-webkit-scrollbar-track { | ||
background-color: hsla(0,0%,100%); | ||
} | ||
|
||
::-webkit-scrollbar-thumb { | ||
background-color: hsla(200,100%,76%,0.8); | ||
} | ||
|
||
::-webkit-scrollbar-corner { | ||
background-color: transparent; | ||
} | ||
|
||
::-webkit-resizer { | ||
background-color:transparent; | ||
} | ||
|
||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="app" ></div> | ||
|
||
<script type="module" src="./main.js" ></script> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
import { main_BANG_ } from "./js-out/app.main.js" | ||
|
||
main_BANG_() | ||
|
||
if (import.meta.hot) { | ||
import.meta.hot.accept('./js-out/app.main.js', (main) => { | ||
main.reload_BANG_() | ||
}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"dependencies": { | ||
"@calcit/procs": "^0.3.16" | ||
}, | ||
"devDependencies": { | ||
"vite": "^2.3.3" | ||
}, | ||
"version": "0.0.1" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.