Skip to content

Commit

Permalink
verify needs lint works
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashleyhx committed Dec 11, 2023
1 parent 06f23c7 commit ba19126
Showing 1 changed file with 26 additions and 25 deletions.
51 changes: 26 additions & 25 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Build-And-Deploy
on:
push:
branches:
- "master"
- master
pull_request:

jobs:
docker:
Expand All @@ -22,27 +23,27 @@ jobs:
run: npm run generate-grammar-prod
- name: Prebuild - build app
run: npm run build
- name: Prebuild - fetch datasets
run: npm run fetch-datasets
- name: Prebuild - cleanup
run: rm -rf node_modules
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: kuzudb/explorer:latest
build-args: |
SKIP_GRAMMAR=true
SKIP_BUILD_APP=true
SKIP_DATASETS=true
# - name: Prebuild - fetch datasets
# run: npm run fetch-datasets
# - name: Prebuild - cleanup
# run: rm -rf node_modules
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
# - name: Login to Docker Hub
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# - name: Build and push
# uses: docker/build-push-action@v5
# with:
# context: .
# platforms: linux/amd64,linux/arm64
# push: true
# tags: kuzudb/explorer:latest
# build-args: |
# SKIP_GRAMMAR=true
# SKIP_BUILD_APP=true
# SKIP_DATASETS=true

0 comments on commit ba19126

Please sign in to comment.