[DOCS-7406] Add Alfresco Content Connector for AWS S3 6.0 Docs (#1178) #745
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Staging | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '.github/**' | |
env: | |
AWS_DEFAULT_REGION: us-east-1 | |
BUCKET_NAME: ${{ secrets.STAGING_BUCKET_NAME }} | |
DISTRIBUTION_ID: ${{ secrets.STAGING_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.staging.yml | |
- name: Run S3 Sync | |
uses: ./.github/actions/s3_sync | |
- name: Run Redirects S3 Upload | |
uses: ./.github/actions/s3_upload |