forked from municipio-se/municipio-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1.3 KB
/
deploy-production.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
name: Build and deploy production.
on:
workflow_dispatch:
push:
branches: [production, master]
paths-ignore:
- .github/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: helsingborg-stad/municipio-deploy/4.0@master
with:
deploy-host: ${{ secrets.DEPLOY_REMOTE_HOST_PROD }}
deploy-port: ${{ secrets.DEPLOY_REMOTE_PORT_PROD }}
deploy-host-path: ${{ secrets.DEPLOY_REMOTE_PATH_PROD }}
deploy-host-backup-path: ${{ secrets.DEPLOY_REMOTE_BACKUP_DIR_PROD }}
deploy-host-user: ${{ secrets.DEPLOY_REMOTE_USER_PROD }}
deploy-host-user-key: ${{ secrets.DEPLOY_KEY_PROD }}
deploy-host-web-server-user: ${{ secrets.WEB_SERVER_USER_PROD }}
deploy-host-pagecache-path: ${{ secrets.DEPLOY_LS_PAGECACHE_PATH }}
php-version: ${{ secrets.PHP_VERSION }}
kill-lsphp: true
github-token: ${{ secrets.GITHUB_TOKEN }}
acf-url: ${{ secrets.ACF_URL }}
newrelic-app-id: ${{ secrets.NEWRELIC_APP_ID }}
newrelic-api-key: ${{ secrets.NEWRELIC_API_KEY }}
sentry-url: ${{ vars.SENTRY_URL }}
sentry-org: ${{ vars.SENTRY_ORG }}
sentry-version: ${{ vars.SENTRY_VERSION }}
sentry-api-key: ${{ secrets.SENTRY_API_KEY }}
sentry-env: prod