Skip to content

Commit

Permalink
feat: add intranet actions config (municipio-se#73)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Sebastian Thulin <[email protected]>
  • Loading branch information
sebastianthulin and Sebastian Thulin authored Oct 16, 2024
1 parent cf0f223 commit ead9029
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .github/workflows/deploy-intranet-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build and deploy intranet production.

on:
workflow_dispatch:
push:
branches: [production-intranet, master-intranet, main-intranet]
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_INTRA }}
deploy-port: ${{ secrets.DEPLOY_REMOTE_PORT_PROD_INTRA }}
deploy-host-path: ${{ secrets.DEPLOY_REMOTE_PATH_PROD_INTRA }}
deploy-host-backup-path: ${{ secrets.DEPLOY_REMOTE_BACKUP_DIR_PROD_INTRA }}
deploy-host-user: ${{ secrets.DEPLOY_REMOTE_USER_PROD_INTRA }}
deploy-host-user-key: ${{ secrets.DEPLOY_KEY_PROD_INTRA }}
deploy-host-web-server-user: ${{ secrets.WEB_SERVER_USER_PROD_INTRA }}
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
30 changes: 30 additions & 0 deletions .github/workflows/deploy-intranet-stage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and deploy intranet stage.

on:
workflow_dispatch:
push:
branches: [stage-intranet, develop-intranet]
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_STAGE_INTRA }}
deploy-port: ${{ secrets.DEPLOY_REMOTE_PORT_STAGE_INTRA }}
deploy-host-path: ${{ secrets.DEPLOY_REMOTE_PATH_STAGE_INTRA }}
deploy-host-backup-path: ${{ secrets.DEPLOY_REMOTE_BACKUP_DIR_STAGE_INTRA }}
deploy-host-user: ${{ secrets.DEPLOY_REMOTE_USER_STAGE_INTRA }}
deploy-host-user-key: ${{ secrets.DEPLOY_KEY_STAGE_INTRA }}
deploy-host-web-server-user: ${{ secrets.WEB_SERVER_USER_STAGE_INTRA }}
deploy-host-pagecache-path: ${{ secrets.DEPLOY_LS_PAGECACHE_PATH_STAGE_INTRA }}
php-version: ${{ secrets.PHP_VERSION }}
kill-lsphp: false
github-token: ${{ secrets.GITHUB_TOKEN }}
acf-url: ${{ secrets.ACF_URL }}
4 changes: 3 additions & 1 deletion composer.local.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
"name": "municipio-se/municipio-deployment-custom",
"license": "MIT",
"description": "Additions for you own install of municipo.",
"require": {}
"require": {
"wpackagist-plugin/miniorange-saml-20-single-sign-on":"5.1.9"
}
}

0 comments on commit ead9029

Please sign in to comment.