Skip to content

Commit

Permalink
Fix frontend deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Nov 3, 2023
1 parent d79d78a commit e8a7bc9
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
needs: [docker_build_push]
permissions:
contents: write
if: github.ref_name == 'main'
if: github.ref_name == 'main' || github.ref_name == 'fix-frontend-deploy'
container:
image: python:3.7-stretch
steps:
Expand All @@ -100,16 +100,8 @@ jobs:
node-version: 18

- name: Install wasp
run: curl -sSL https://get.wasp-lang.dev/installer.sh | sh

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
run: curl -sSLk https://get.wasp-lang.dev/installer.sh | sh

- run: docker pull ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME || docker pull ghcr.io/$GITHUB_REPOSITORY || true
- name: Build wasp
run: wasp build
- name: Build frontend
Expand Down

0 comments on commit e8a7bc9

Please sign in to comment.