update
This commit is contained in:
parent
4a846ec0d2
commit
2d31f2e486
5 changed files with 81 additions and 82 deletions
40
.github/workflows/compile-ngix-package.yml
vendored
Normal file
40
.github/workflows/compile-ngix-package.yml
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
name: Compile Phyre NGINX Package
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
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
|
||||
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/nginx/dist'
|
||||
destination-github-username: 'CloudVisionApps'
|
||||
destination-repository-name: 'PhyrePanelDist'
|
||||
user-email: bobicloudvision@gmail.com
|
||||
target-branch: main
|
41
.github/workflows/compile-ngix-package.yml_
vendored
41
.github/workflows/compile-ngix-package.yml_
vendored
|
@ -1,41 +0,0 @@
|
|||
name: Compile Phyre NGINX Package
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
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
|
||||
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_user_name: Cloud Vision Bot
|
||||
commit_user_email: bobicloudvision@gmail.com
|
||||
commit_author: Cloud Vision Bot <bobicloudvision@gmail.com>
|
||||
commit_message: Upload compiled packages [BOT]
|
||||
repository: ./compilators/debian/nginx/dist
|
||||
#skip_checkout: true
|
||||
#push_options: '--force'
|
||||
#skip_fetch: true
|
||||
#create_branch: true
|
||||
# status_options: '--untracked-files=no'
|
40
.github/workflows/compile-php-package.yml
vendored
Normal file
40
.github/workflows/compile-php-package.yml
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
name: Compile Phyre PHP Package
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
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'
|
||||
destination-github-username: 'CloudVisionApps'
|
||||
destination-repository-name: 'PhyrePanelDist'
|
||||
user-email: bobicloudvision@gmail.com
|
||||
target-branch: main
|
41
.github/workflows/compile-php-package.yml_
vendored
41
.github/workflows/compile-php-package.yml_
vendored
|
@ -1,41 +0,0 @@
|
|||
name: Compile Phyre PHP Package
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
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
|
||||
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_user_name: Cloud Vision Bot
|
||||
commit_user_email: bobicloudvision@gmail.com
|
||||
commit_author: Cloud Vision Bot <bobicloudvision@gmail.com>
|
||||
commit_message: Upload compiled packages [BOT]
|
||||
repository: ./compilators/debian/php/dist
|
||||
#skip_checkout: true
|
||||
#push_options: '--force'
|
||||
#skip_fetch: true
|
||||
#create_branch: true
|
||||
# status_options: '--untracked-files=no'
|
|
@ -1,3 +1,4 @@
|
|||
rm -rf /usr/local/phyre/update/web-panel-latest
|
||||
wget https://github.com/CloudVisionApps/PhyrePanelDist/raw/main/phyre-web-panel.zip
|
||||
unzip phyre-web-panel.zip -d /usr/local/phyre/update/web-panel-latest
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue