We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ecf776 commit 034d38bCopy full SHA for 034d38b
.github/workflows/main.yml
@@ -0,0 +1,36 @@
1
+name: CI&&CD
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - deploy
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v1
14
15
+ - name: Use Node.js 18.x
16
+ uses: actions/setup-node@v1
17
+ with:
18
+ node-version: '18.x'
19
20
+ - name: Dependent environment
21
+ run: |
22
+ npm i -g @angular/cli
23
+ npm i
24
25
+ - name: Compile
26
27
+ npm run build
28
29
+ - name: Deploy
30
+ uses: garygrossgarten/[email protected]
31
32
+ local: dist\nice-blockly
33
+ remote: ${{ secrets.TARGET }}
34
+ host: ${{ secrets.HOST }}
35
+ username: ubuntu
36
+ privateKey: ${{ secrets.PRIVATEKEY }}
0 commit comments