Skip to content

Commit

Permalink
ci: fix concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
namgold committed Dec 7, 2023
1 parent 2c8fb22 commit 37be437
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/storybook.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'KyberSwap Interface Storybook'

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

on:
Expand Down Expand Up @@ -123,6 +123,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile.storybook
push: true
labels: |
kyber.network.schema-version=1.0
Expand Down
9 changes: 9 additions & 0 deletions Dockerfile.storybook
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM nginx:alpine

COPY ./storybook-static /var/www

COPY ./etc/nginx.conf /etc/nginx/conf.d/default.conf

EXPOSE 80

ENTRYPOINT ["nginx", "-g", "daemon off;"]

0 comments on commit 37be437

Please sign in to comment.