Skip to content

composer

composer #343

Workflow file for this run

name: composer
on:
push:
tag:
- v1.*
schedule:
- cron: '0 11 */2 * *'
jobs:
run-composer-bin:
runs-on: ubuntu-latest
steps:
- name : php version
shell: bash
run : |
php -v
- name : composer require
shell: bash
run : |
mkdir -p sample/bin
cd sample
composer require takuya/php-letencrypt-acme-dns --no-ansi --no-interaction --no-progress
cp vendor/takuya/php-letencrypt-acme-dns/bin/request-issue.php ./bin
- name : copy
shell: bash
run : |
cd sample
cp vendor/takuya/php-letencrypt-acme-dns/bin/request-issue.php ./bin
- name : issue cert
shell: bash
run : |
cd sample
export LE_CLOUDFLARE_TOKEN=${{ secrets.LE_CLOUDFLARE_TOKEN1 }}
export LE_BASE_DOMAIN=${{ secrets.LE_BASE_DOMAIN1 }}
php bin/request-issue.php sample.$LE_BASE_DOMAIN