Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Merge pull request #3 from TheDragonCode/dev #8

Merge pull request #3 from TheDragonCode/dev

Merge pull request #3 from TheDragonCode/dev #8

Workflow file for this run

name: deploy
on:
release:
types:
- released
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql
- name: Deploy
uses: deployphp/action@v1
env:
TELEGRAM_DEPLOY_TOKEN: ${{ secrets.TELEGRAM_DEPLOY_TOKEN }}
TELEGRAM_DEPLOY_CHAT_ID: ${{ secrets.TELEGRAM_DEPLOY_CHAT_ID }}
with:
private-key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
known-hosts: ${{ secrets.DEPLOY_KNOWN_HOSTS }}
dep: deploy production --revision=${{ github.sha }} -o provision_user=${{ secrets.DEPLOY_USERNAME }}
deployer-version: 7.5.12