Skip to content

Commit

Permalink
Test new S3 location for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ajelenak committed Nov 20, 2024
1 parent 90c8798 commit 8474272
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and push documentation to HDFG site

# Triggers the workflow on demand
on:
workflow_dispatch:
inputs:
version:
description: Documentation version
type: string
default: latest
required: true

permissions:
contents: read

jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Setup AWS CLI
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: List S3 location
run: |
aws s3 ls s3://${{ secrets.AWS_S3_BUCKET }}/${{ vars.TARGET_PATH }}/ --recursive

0 comments on commit 8474272

Please sign in to comment.