Skip to content

Commit 1b31f8c

Browse files
committed
Troubleshoot failing deploy-example by testing deployment
1 parent 9b2d48a commit 1b31f8c

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22
on:
33
push:
44
branches:
5-
- master
5+
- fix-deploy-example-pipeline
66
pull_request:
77
branches:
88
- master
@@ -46,24 +46,24 @@ jobs:
4646

4747
- name: Build package
4848
run: yarn prepack
49-
release:
50-
runs-on: ubuntu-latest
51-
if: github.ref == 'refs/heads/master'
52-
steps:
53-
- name: Checkout
54-
uses: actions/checkout@v3
55-
with:
56-
fetch-depth: 0
57-
- name: Setup
58-
uses: ./.github/actions/setup
59-
- name: git config
60-
run: |
61-
git config user.name "${GITHUB_ACTOR}"
62-
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
63-
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
64-
- run: yarn release
65-
env:
66-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
# release:
50+
# runs-on: ubuntu-latest
51+
# if: github.ref == 'refs/heads/master'
52+
# steps:
53+
# - name: Checkout
54+
# uses: actions/checkout@v3
55+
# with:
56+
# fetch-depth: 0
57+
# - name: Setup
58+
# uses: ./.github/actions/setup
59+
# - name: git config
60+
# run: |
61+
# git config user.name "${GITHUB_ACTOR}"
62+
# git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
63+
# - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
64+
# - run: yarn release
65+
# env:
66+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767
deploy-example:
6868
runs-on: ubuntu-latest
6969
if: github.ref == 'refs/heads/master'
@@ -84,7 +84,7 @@ jobs:
8484
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
8585
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
8686
AWS_REGION: 'eu-central-1'
87-
SOURCE_DIR: 'example/dist' # optional: defaults to entire repository
87+
SOURCE_DIR: 'example/web-build' # optional: defaults to entire repository
8888

8989

9090

0 commit comments

Comments
 (0)