Skip to content

Commit 2446903

Browse files
committed
do not deploy maint branch
1 parent cc72f83 commit 2446903

File tree

1 file changed

+57
-57
lines changed

1 file changed

+57
-57
lines changed

.github/workflows/ci.yml

+57-57
Original file line numberDiff line numberDiff line change
@@ -194,60 +194,60 @@ jobs:
194194
cache-from: type=gha
195195
cache-to: type=gha,mode=max
196196

197-
deploy:
198-
needs: [tests, publish]
199-
runs-on: ubuntu-latest
200-
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' && github.repository == 'developmentseed/titiler'
201-
202-
defaults:
203-
run:
204-
working-directory: deployment/aws
205-
206-
steps:
207-
- uses: actions/checkout@v4
208-
209-
# Let's wait a bit to make sure Pypi is up to date
210-
- name: Sleep for 120 seconds
211-
run: sleep 120s
212-
shell: bash
213-
214-
- name: Configure AWS credentials
215-
uses: aws-actions/configure-aws-credentials@v4
216-
with:
217-
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
218-
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
219-
aws-region: us-east-1
220-
221-
- name: Set up Node.js
222-
uses: actions/setup-node@v4
223-
with:
224-
node-version: '14.x'
225-
226-
- name: Install cdk
227-
run: npm install -g
228-
229-
- name: Set up Python
230-
uses: actions/setup-python@v5
231-
with:
232-
python-version: '3.x'
233-
234-
- name: Install dependencies
235-
run: |
236-
python -m pip install --upgrade pip
237-
python -m pip install -r requirements-cdk.txt
238-
239-
# Let's wait a bit to make sure package is available on pypi
240-
- name: Sleep for 120 seconds
241-
run: sleep 120s
242-
shell: bash
243-
244-
# Build and Deploy CDK application
245-
- name: Build & Deploy
246-
run: npm run cdk -- deploy ${{ secrets.STACK_NAME }}-lambda-${{ secrets.STACK_STAGE }} --require-approval never
247-
env:
248-
TITILER_STACK_NAME: ${{ secrets.STACK_NAME }}
249-
TITILER_STACK_STAGE: ${{ secrets.STACK_STAGE }}
250-
TITILER_STACK_MEMORY: ${{ secrets.STACK_MEMORY }}
251-
TITILER_STACK_OWNER: ${{ secrets.STACK_OWNER }}
252-
TITILER_STACK_CLIENT: ${{ secrets.STACK_CLIENT }}
253-
TITILER_STACK_BUCKETS: ${{ secrets.STACK_BUCKETS }}
197+
# deploy:
198+
# needs: [tests, publish]
199+
# runs-on: ubuntu-latest
200+
# if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' && github.repository == 'developmentseed/titiler'
201+
202+
# defaults:
203+
# run:
204+
# working-directory: deployment/aws
205+
206+
# steps:
207+
# - uses: actions/checkout@v4
208+
209+
# # Let's wait a bit to make sure Pypi is up to date
210+
# - name: Sleep for 120 seconds
211+
# run: sleep 120s
212+
# shell: bash
213+
214+
# - name: Configure AWS credentials
215+
# uses: aws-actions/configure-aws-credentials@v4
216+
# with:
217+
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
218+
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
219+
# aws-region: us-east-1
220+
221+
# - name: Set up Node.js
222+
# uses: actions/setup-node@v4
223+
# with:
224+
# node-version: '14.x'
225+
226+
# - name: Install cdk
227+
# run: npm install -g
228+
229+
# - name: Set up Python
230+
# uses: actions/setup-python@v5
231+
# with:
232+
# python-version: '3.x'
233+
234+
# - name: Install dependencies
235+
# run: |
236+
# python -m pip install --upgrade pip
237+
# python -m pip install -r requirements-cdk.txt
238+
239+
# # Let's wait a bit to make sure package is available on pypi
240+
# - name: Sleep for 120 seconds
241+
# run: sleep 120s
242+
# shell: bash
243+
244+
# # Build and Deploy CDK application
245+
# - name: Build & Deploy
246+
# run: npm run cdk -- deploy ${{ secrets.STACK_NAME }}-lambda-${{ secrets.STACK_STAGE }} --require-approval never
247+
# env:
248+
# TITILER_STACK_NAME: ${{ secrets.STACK_NAME }}
249+
# TITILER_STACK_STAGE: ${{ secrets.STACK_STAGE }}
250+
# TITILER_STACK_MEMORY: ${{ secrets.STACK_MEMORY }}
251+
# TITILER_STACK_OWNER: ${{ secrets.STACK_OWNER }}
252+
# TITILER_STACK_CLIENT: ${{ secrets.STACK_CLIENT }}
253+
# TITILER_STACK_BUCKETS: ${{ secrets.STACK_BUCKETS }}

0 commit comments

Comments
 (0)