File tree Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Expand file tree Collapse file tree 2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -104,19 +104,6 @@ jobs:
104
104
files : |
105
105
dist/*.whl
106
106
token : ${{ secrets.GITHUB_TOKEN }}
107
- - uses : aws-actions/configure-aws-credentials@v4
108
- id : creds
109
- with :
110
- role-to-assume : ${{ secrets.AWS_ROLE_TO_ASSUME }}
111
- aws-region : ${{ secrets.AWS_REGION }}
112
- - if : github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.package_name == 'rsconnect_python'
113
- run : make sync-latest-to-s3
114
- env :
115
- BDIST_WHEEL : ${{ steps.create_dist.outputs.whl }}
116
- - if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && matrix.package_name == 'rsconnect_python'
117
- run : make sync-to-s3
118
- env :
119
- BDIST_WHEEL : ${{ steps.create_dist.outputs.whl }}
120
107
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
121
108
uses : pypa/gh-action-pypi-publish@release/v1
122
109
Original file line number Diff line number Diff line change @@ -135,23 +135,6 @@ dist:
135
135
@echo " ::set-output name=whl::$( BDIST_WHEEL) "
136
136
@echo " ::set-output name=whl_basename::$( notdir $( BDIST_WHEEL) ) "
137
137
138
- .PHONY : dist-install
139
- dist-install : dist
140
- pip install $(BDIST_WHEEL )
141
-
142
- .PHONY : sync-to-s3
143
- sync-to-s3 :
144
- aws s3 cp --acl bucket-owner-full-control \
145
- $(BDIST_WHEEL ) \
146
- $(S3_PREFIX ) /$(VERSION ) /$(notdir $(BDIST_WHEEL ) )
147
-
148
- .PHONY : sync-latest-to-s3
149
- sync-latest-to-s3 :
150
- aws s3 cp --acl bucket-owner-full-control \
151
- --cache-control max-age=0 \
152
- $(BDIST_WHEEL ) \
153
- $(S3_PREFIX ) /latest/rsconnect_python-latest-py2.py3-none-any.whl
154
-
155
138
.PHONY : sync-latest-docs-to-s3
156
139
sync-latest-docs-to-s3 :
157
140
aws s3 sync --acl bucket-owner-full-control \
You can’t perform that action at this time.
0 commit comments