diff --git a/.github/workflows/deploy-intranet-production.yml b/.github/workflows/deploy-intranet-production.yml new file mode 100644 index 0000000..8364fc7 --- /dev/null +++ b/.github/workflows/deploy-intranet-production.yml @@ -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 diff --git a/.github/workflows/deploy-intranet-stage.yml b/.github/workflows/deploy-intranet-stage.yml new file mode 100644 index 0000000..8af9711 --- /dev/null +++ b/.github/workflows/deploy-intranet-stage.yml @@ -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 }} diff --git a/composer.local.json b/composer.local.json index 145398d..262b310 100644 --- a/composer.local.json +++ b/composer.local.json @@ -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" + } } \ No newline at end of file