Hansimov commited on
Commit
f736523
1 Parent(s): 89774fe

:gem: [Feature] Deploy to static pages

Browse files
.github/workflows/.prettierrc ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tabWidth": 4,
3
+ "overrides": [
4
+ {
5
+ "files": "*.yml",
6
+ "options": {
7
+ "tabWidth": 2
8
+ }
9
+ }
10
+ ]
11
+ }
.github/workflows/deploy_llm_mixer.yml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Deploy LLM Mixer
2
+
3
+ on:
4
+ push:
5
+ branches: ["main"]
6
+ workflow_dispatch:
7
+
8
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9
+ permissions:
10
+ contents: read
11
+ pages: write
12
+ id-token: write
13
+
14
+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
15
+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
16
+ concurrency:
17
+ group: "pages"
18
+ cancel-in-progress: false
19
+
20
+ jobs:
21
+ deploy:
22
+ environment:
23
+ name: github-pages
24
+ url: ${{ steps.deployment.outputs.page_url }}
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - name: Checkout
28
+ uses: actions/checkout@v3
29
+ - name: Setup Pages
30
+ uses: actions/configure-pages@v3
31
+ - name: Upload artifact
32
+ uses: actions/upload-pages-artifact@v2
33
+ with:
34
+ path: "."
35
+ - name: Deploy to GitHub Pages
36
+ id: deployment
37
+ uses: actions/deploy-pages@v2