Skip to content

Commit 6da7c02

Browse files
committed
remove publishing to s3
1 parent 1108457 commit 6da7c02

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -104,19 +104,6 @@ jobs:
104104
files: |
105105
dist/*.whl
106106
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 }}
120107
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
121108
uses: pypa/gh-action-pypi-publish@release/v1
122109

Makefile

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -135,23 +135,6 @@ dist:
135135
@echo "::set-output name=whl::$(BDIST_WHEEL)"
136136
@echo "::set-output name=whl_basename::$(notdir $(BDIST_WHEEL))"
137137

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-
155138
.PHONY: sync-latest-docs-to-s3
156139
sync-latest-docs-to-s3:
157140
aws s3 sync --acl bucket-owner-full-control \

0 commit comments

Comments
 (0)