test action for branch fetching

This commit is contained in:
Robert
2024-06-23 12:44:00 +02:00
parent 4a7d9b5523
commit 5956eebacc

18
.github/workflows/create-pack.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Create Pack
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Create Pack
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
USERNAME: ${{ secrets.USERNAME }}
PORT: ${{ secrets.PORT }}
KEY: ${{ secrets.SSH }}
script: |
if [[ $({ github.ref_name }) == "main" ]]; then
exit 0
fi