-
Notifications
You must be signed in to change notification settings - Fork 13
39 lines (34 loc) · 929 Bytes
/
update.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
36
37
38
39
name: Generate Images
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * *'
permissions:
contents: write
pull-requests: write
actions: write
jobs:
update:
name: Generate Builds
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Generate files
run: |
php generate_shopware.php
php generate_php.php nginx
php generate_php.php caddy
- name: my-app-install token
id: gh-app
uses: getsentry/action-github-app-token@v2
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_SECRET }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ steps.gh-app.outputs.token }}
commit-message: 'New docker updates'
delete-branch: true
assignees: shyim
reviewers: shyim