-
Notifications
You must be signed in to change notification settings - Fork 51
27 lines (24 loc) · 877 Bytes
/
Copy pathdeploy.yml
File metadata and controls
27 lines (24 loc) · 877 Bytes
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
name: Deploy Mautic to DigitalOcean
on:
push:
branches:
- '*'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy Mautic
uses: escopecz/mautic-do-action@0.3.0
with:
vps-name: ${{ github.event.inputs.vps_name || vars.VPS_NAME || format('mautic-{0}', github.ref_name) }}
vps-size: 's-1vcpu-1gb'
vps-region: 'ams3'
domain: ''
email: ${{ vars.EMAIL_ADDRESS }}
plugins: ${{ secrets.GITHUB_TOKEN }}@github.com/chimpino/stripe-plugin/archive/refs/heads/6.x.zip
mautic-password: ${{ secrets.MAUTIC_PASSWORD }}
mysql-password: ${{ secrets.MYSQL_PASSWORD }}
mysql-root-password: ${{ secrets.MYSQL_ROOT_PASSWORD }}
digitalocean-token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
mautic-port: '8001'