Skip to content

Instapass spectral_arrow from 2024-08-16 #6368

Instapass spectral_arrow from 2024-08-16

Instapass spectral_arrow from 2024-08-16 #6368

Workflow file for this run

name: Create Pack
on:
push:
branches-ignore:
- master
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get branch name
id: branch-name
uses: tj-actions/[email protected]
- name: Create Pack
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
USERNAME: ${{ secrets.USERNAME }}
PORT: ${{ secrets.PORT }}
KEY: ${{ secrets.SSH }}
script: |
[ ! -d "./packs/Faithful-Java-64x/${{ steps.branch-name.outputs.current_branch }}" ] && exit 1
cd "./packs/Faithful-Java-64x/${{ steps.branch-name.outputs.current_branch }}"
git pull
zip -r "Faithful 64x - ${{ steps.branch-name.outputs.current_branch }} Experimental.zip" . -x "*.git*" -x "*.github*" -x ".gitignore"
mv "Faithful 64x - ${{ steps.branch-name.outputs.current_branch }} Experimental.zip" "/var/www/html/database.faithfulpack.net/packs/64x-Java/Experimental"