Skip to content

Commit

Permalink
Fix frontend deploy (#4)
Browse files Browse the repository at this point in the history
* Fix frontend deploy

* Remove unnecessary stuff

* Remove container

* Remove debug
  • Loading branch information
kumaranvpl authored Nov 3, 2023
1 parent 29abc24 commit bb1f103
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,32 +84,20 @@ jobs:

deploy_frontend:
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
needs: [docker_build_push]
permissions:
contents: write
if: github.ref_name == 'main'
container:
image: python:3.7-stretch
steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
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: 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 bb1f103

Please sign in to comment.