Skip to content

Commit 5956eeb

Browse files
committed
test action for branch fetching
1 parent 4a7d9b5 commit 5956eeb

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/create-pack.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Create Pack
2+
on: push
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Create Pack
9+
uses: appleboy/ssh-action@v1.0.3
10+
with:
11+
host: ${{ secrets.HOST }}
12+
USERNAME: ${{ secrets.USERNAME }}
13+
PORT: ${{ secrets.PORT }}
14+
KEY: ${{ secrets.SSH }}
15+
script: |
16+
if [[ $({ github.ref_name }) == "main" ]]; then
17+
exit 0
18+
fi

0 commit comments

Comments
 (0)