diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml new file mode 100644 index 0000000..c6039eb --- /dev/null +++ b/.github/workflows/deploy.yaml @@ -0,0 +1,14 @@ +name: Deploy Frontend +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} + - run: docker build -t cygnetops/react-test -f Dockerfile.dev . + - run: docker run -e CI=true cygnetops/react-test npm test diff --git a/.github/workflows/deploy.yaml:Zone.Identifier b/.github/workflows/deploy.yaml:Zone.Identifier new file mode 100644 index 0000000..e69de29