2024-04-06 20:28:18 +00:00
|
|
|
name: Compile Phyre NGINX 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 NGINX
|
|
|
|
run: |
|
|
|
|
cd compilators/debian/nginx
|
|
|
|
chmod 775 ./nginx-compile.sh
|
|
|
|
./nginx-compile.sh
|
|
|
|
ls
|
|
|
|
|
|
|
|
- name: Pushes to Phyre Panel Dist Repo
|
2024-04-06 21:18:46 +00:00
|
|
|
uses: cpina/github-action-push-to-another-repository@main
|
2024-04-06 20:28:18 +00:00
|
|
|
env:
|
2024-04-06 21:18:46 +00:00
|
|
|
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
|
2024-04-06 20:28:18 +00:00
|
|
|
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
|
|
|
|
with:
|
2024-04-06 21:18:46 +00:00
|
|
|
source-directory: './compilators/debian/nginx/dist'
|
|
|
|
target-directory: './debian/nginx/dist'
|
|
|
|
destination-github-username: 'CloudVisionApps'
|
2024-04-06 21:27:21 +00:00
|
|
|
destination-repository-name: 'PhyrePanelNginxDist'
|
2024-04-06 21:18:46 +00:00
|
|
|
user-email: bobicloudvision@gmail.com
|
|
|
|
target-branch: main
|