We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afb89ec commit 9c8f821Copy full SHA for 9c8f821
1 file changed
.github/workflows/build.yaml
@@ -0,0 +1,27 @@
1
+name: deploy
2
+
3
+on:
4
+ push:
5
+ workflow_dispatch:
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
+ if: ${{ github.ref == 'refs/heads/deploy-test' || github.ref == 'refs/heads/master' }}
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - name: build
15
+ run: |
16
+ pip3 install -r jenkins-requirements.txt
17
+ python3 ./freeze_web.py
18
19
+ - name: push to build branch
20
21
+ git config user.name "github-actions"
22
+ git config user.email "github-actions@github.com"
23
24
+ git checkout -B build
25
+ git add app/build
26
+ git commit -m "ci: update build artifacts" || echo "Nothing to commit"
27
+ git push origin build --force
0 commit comments