Skip to content

6.0.0

6.0.0 #190

Workflow file for this run

name: Production
on:
release:
types:
- published
env:
AWS_DEFAULT_REGION: us-east-1
BUCKET_NAME: ${{ secrets.PRODUCTION_BUCKET_NAME }}
DISTRIBUTION_ID: ${{ secrets.PRODUCTION_DISTRIBUTION_ID }}
RUNNER_ROLE: ${{ secrets.EAD_PRODUCTION_RUNNER_ROLE }}
RUNNER_EXTERNAL_ID: ${{ secrets.EAD_PROD_RUNNER_EXTERNAL_ID }}
jobs:
Publish:
runs-on: self-hosted
if: ${{ github.repository }} == 'Alfresco/docs-alfresco'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: AWS Assume Role
uses: ./.github/actions/assume_role
- name: Run Jekyll Build
uses: ./.github/actions/jekyll_build
env:
JEKYLL_CONFIG: _config.yml,_config.production.yml
- name: Run S3 Sync
uses: ./.github/actions/s3_sync
- name: Run Redirects S3 Upload
uses: ./.github/actions/s3_upload