Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
r-akemii committed Sep 3, 2024
1 parent 9f7cc54 commit b7dadbc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
max-parallel: 1
env:
HAS_SECRETS: ${{ secrets.AWS_SECRET_ACCESS_KEY != '' }}
MERGE_REQUEST_ID: echo 'python/${{ github.event.number }}/'
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
Expand Down Expand Up @@ -69,7 +68,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-1' # optional: defaults to us-east-1
SOURCE_DIR: 'docs/build/html/' # optional: defaults to entire repository
DEST_DIR: $MERGE_REQUEST_ID # optional: defaults to entire repository
DEST_DIR: 'python/dev/${{github.event.number}}/' # optional: defaults to entire repository

- name: Upload to develop branch to S3
if: ${{ (github.ref == 'refs/heads/develop') && (github.event_name == 'push') && (env.HAS_SECRETS == 'true') }}
Expand Down

0 comments on commit b7dadbc

Please sign in to comment.