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

41 lines
960 B
YAML

name: Compile Phyre NGINX 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 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'
target-directory: './debian/nginx/dist'
destination-github-username: 'CloudVisionApps'
destination-repository-name: 'PhyrePanelNginxDist'
user-email: bobicloudvision@gmail.com
target-branch: main