Skip to content

Commit 95608ae

Browse files
committed
Split CI into main and dev
1 parent ada9e2a commit 95608ae

File tree

2 files changed

+26
-13
lines changed

2 files changed

+26
-13
lines changed
Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "test-install"
1+
name: "test-install-dev"
22
on:
33
push:
44
branches:
@@ -10,17 +10,6 @@ env:
1010
GREEN: '\033[0;32m'
1111
NC: '\033[0m'
1212
jobs:
13-
main:
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Checkout repository
17-
uses: actions/checkout@v4
18-
- name: Setup ssh
19-
uses: webfactory/[email protected]
20-
with:
21-
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
22-
- name: Install
23-
run: ./install.sh
2413
devcontainer:
2514
runs-on: ${{ matrix.os }}
2615
strategy:
@@ -34,4 +23,3 @@ jobs:
3423
with:
3524
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
3625
- name: Install
37-
run: ./install.sh

.github/workflows/main.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "test-install-main"
2+
on:
3+
schedule:
4+
- cron: "0 2 * * *"
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
11+
env:
12+
GREEN: '\033[0;32m'
13+
NC: '\033[0m'
14+
jobs:
15+
main:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
- name: Setup ssh
21+
uses: webfactory/[email protected]
22+
with:
23+
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
24+
- name: Install
25+
run: ./install.sh

0 commit comments

Comments
 (0)