We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5c54c5 commit d13b137Copy full SHA for d13b137
.github/workflows/static-build.yml
@@ -0,0 +1,30 @@
1
+name: Build and Upload MESS-Static
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
+ workflow_dispatch:
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout the code
13
+ uses: actions/checkout@v4
14
15
+ - name: Set up Pixi
16
+ uses: prefix-dev/[email protected]
17
+ with:
18
+ manifest-path: static/pixi.toml
19
20
+ # Build
21
+ - name: Build
22
+ run: pixi build
23
+ working-directory: static/
24
25
+ # Upload
26
+ - name: Upload
27
+ if: ${{ github.ref == 'refs/heads/main' && github.repository == 'Auto-Mech/mechtools'}}
28
+ run: pixi run upload
29
+ env:
30
+ ANACONDA_API_KEY: ${{ secrets.ANACONDA_API_KEY }}
0 commit comments