Skip to content

Commit 3823ced

Browse files
committed
cd: deploy
1 parent 34920c0 commit 3823ced

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,21 @@
1-
# Simple workflow for deploying static content to GitHub Pages
21
name: Deploy static content to Pages
32

43
on:
5-
# Runs on pushes targeting the default branch
64
push:
75
branches: [ "master" ]
86

9-
# Allows you to run this workflow manually from the Actions tab
107
workflow_dispatch:
118

12-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
139
permissions:
1410
contents: read
1511
pages: write
1612
id-token: write
1713

18-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2014
concurrency:
2115
group: "pages"
2216
cancel-in-progress: false
2317

2418
jobs:
25-
# Single deploy job since we're just deploying
2619
deploy:
2720
environment:
2821
name: github-pages
@@ -34,7 +27,11 @@ jobs:
3427
- name: Setup Pages
3528
uses: actions/configure-pages@v5
3629
- name: Setup Project
37-
run: npm install && chmod +x build.sh && ./build.sh
30+
run: |
31+
npm install
32+
npm install -g @typespec/compiler
33+
chmod +x build.sh
34+
./build.sh
3835
- name: Upload artifact
3936
uses: actions/upload-pages-artifact@v3
4037
with:

0 commit comments

Comments
 (0)