This repository has been archived on 2024-05-20. You can view files and clone it, but cannot push or open issues or pull requests.
Benjamyn Love 6d01839b55
All checks were successful
deploy / production (push) Successful in 8m41s
Update .github/workflows/deploy.yml
2023-10-12 23:36:37 -04:00

36 lines
825 B
YAML

name: deploy
on:
push:
tags:
- 'v*'
concurrency: production_environment
jobs:
production:
runs-on: ubuntu-latest
environment: Production
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
tools: composer
extensions: bcmath, ctype, fileinfo, json, odbc, mbstring, openssl, pdo, pdo_mysql, pdo_odbc tokenizer, xml, soap, redis, igbinary
php-version: "8.2"
- name: Install dependencies
run: composer install --no-interaction --no-scripts --prefer-dist
- name: Deploy
uses: deployphp/action@v1
with:
private-key: ${{ secrets.DEPLOY_KEY }}
dep: deploy production