PhyrePanel/.github/workflows/compile-php-package.yml

42 lines
944 B
YAML
Raw Normal View History

2024-04-06 20:28:18 +00:00
name: Compile Phyre PHP Package
on:
push:
2024-04-06 21:38:47 +00:00
# Pattern matched against refs/tags
tags:
- '**'
2024-04-06 20:28:18 +00:00
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'
2024-04-06 20:30:49 +00:00
target-directory: './debian/php/dist'
2024-04-06 20:28:18 +00:00
destination-github-username: 'CloudVisionApps'
2024-04-06 21:27:21 +00:00
destination-repository-name: 'PhyrePanelPHPDist'
2024-04-06 20:28:18 +00:00
user-email: bobicloudvision@gmail.com
target-branch: main