Skip to content

Commit

Permalink
Merge pull request #305 from rstudio/mm-docs-release
Browse files Browse the repository at this point in the history
Don't publish docs on beta releases
  • Loading branch information
mmarchetti authored Jul 26, 2021
2 parents 981f92d + 0cb8b79 commit 2ca328b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ jobs:
aws-region: us-east-1
- if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: make sync-latest-docs-to-s3
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && (contains(github.ref, 'b') == false)
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.DOCS_AWS_ID }}
aws-secret-access-key: ${{ secrets.DOCS_AWS_SECRET }}
aws-region: us-east-1
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && (contains(github.ref, 'b') == false)
run: make promote-docs-in-s3

0 comments on commit 2ca328b

Please sign in to comment.