PhyrePanel/.github/workflows/compile-php-package.yml
Bozhidar Slaveykov ec67141ff1 update
2024-04-07 00:38:47 +03:00

41 lines
944 B
YAML

name: Compile Phyre PHP Package
on:
push:
# Pattern matched against refs/tags
tags:
- '**'
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Compile PHP
run: |
cd compilators/debian/php
chmod 775 ./php-compile.sh
./php-compile.sh
ls
- name: Pushes to Phyre Panel Dist Repo
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: './compilators/debian/php/dist'
target-directory: './debian/php/dist'
destination-github-username: 'CloudVisionApps'
destination-repository-name: 'PhyrePanelPHPDist'
user-email: bobicloudvision@gmail.com
target-branch: main