-
-
Notifications
You must be signed in to change notification settings - Fork 104
45 lines (38 loc) · 989 Bytes
/
wasm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: WASM
on: [push,pull_request]
jobs:
wasm:
name: WebAssembly
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- name: Install git
run: |
pacman -Syy --noconfirm
pacman -S glibc --noconfirm
pacman -S git --noconfirm
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
persist-credentials: false
fetch-depth: 0
- name: Dependencies
run: |
./ci/wasm.deps.sh
- name: Build
run: |
./ci/wasm.build.sh
- name: Deploy
run: |
./ci/wasm.deploy.sh
- name: Push changes
uses: ad-m/github-push-action@master
if: github.event_name != 'pull_request'
with:
github_token: ${{ secrets.API_TOKEN_GITHUB }}
branch: 'main'
force: true
directory: './site'
repository: 'ossia/score-web'