Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set GH_TOKEN on deploy-storybook job #2155

Merged
merged 3 commits into from
May 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches: [main]

concurrency:
group: ${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand All @@ -22,3 +22,5 @@ jobs:
cache: yarn
- run: yarn install --frozen--lockfile
- run: yarn deploy-storybook --ci
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
17 changes: 7 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [reopened]

concurrency:
group: ${{ github.ref }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down Expand Up @@ -45,15 +45,12 @@ jobs:
uses: ./.github/setup-docker-compose
- name: Test backend
run: >
docker-compose run
-e DJANGO_DEBUG=false
-e SECURE_SSL_REDIRECT=false
-e SFDX_CLIENT_SECRET="sample secret"
-e SFDX_CLIENT_CALLBACK_URL="sample callback"
-e SFDX_CLIENT_ID="sample id"
-e SFDX_HUB_KEY="sample key"
-e DB_ENCRYPTION_KEY=MMkDMBfYL0Xoz3Xu1ENs3AkdCZdJoks5PNlUBkK7KDc=
web yarn test:py
docker-compose run -e DJANGO_DEBUG=false -e SECURE_SSL_REDIRECT=false
-e SFDX_CLIENT_SECRET="sample secret" -e
SFDX_CLIENT_CALLBACK_URL="sample callback" -e SFDX_CLIENT_ID="sample
id" -e SFDX_HUB_KEY="sample key" -e
DB_ENCRYPTION_KEY=MMkDMBfYL0Xoz3Xu1ENs3AkdCZdJoks5PNlUBkK7KDc= web
yarn test:py
- name: Upload coverage results
uses: actions/upload-artifact@v3
with:
Expand Down