-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 962 Bytes
/
composer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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