mirror of
https://github.com/Faithful-Resource-Pack/Faithful-32x-Java.git
synced 2026-04-17 08:46:58 -04:00
test action for branch fetching
This commit is contained in:
18
.github/workflows/create-pack.yml
vendored
Normal file
18
.github/workflows/create-pack.yml
vendored
Normal 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
|
||||||
Reference in New Issue
Block a user