Skip to content

Commit b70e6df

Browse files
committed
added github action file
1 parent 621af50 commit b70e6df

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Deploy Frontend
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
# - run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
13+
- run: docker build -t iamop/react-test -f Dockerfile.dev .
14+
- run: docker run -e CI=true iamop/react-test npm test

0 commit comments

Comments
 (0)