Skip to content

Commit

Permalink
removed frontend and added frontend url to allowed origins
Browse files Browse the repository at this point in the history
  • Loading branch information
lostmypillow committed Aug 13, 2024
1 parent a9af6e9 commit e3b160b
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 4,563 deletions.
38 changes: 1 addition & 37 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,40 +31,4 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: lostmypillow/jrar:latest
build-args: |
SECRET_KEY=${{ secrets.DJANGO_SECRET_KEY }}
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:

- name: Checkout

uses: actions/checkout@v4
- name: Install PNPM
uses: pnpm/action-setup@v3
with:
version: 8
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
cache-dependency-path: frontend/pnpm-lock.yaml
- name: Install dependencies
working-directory: ./frontend
run: pnpm install
- name: Build
working-directory: ./frontend
run: pnpm run build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload dist repository
path: './frontend/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
SECRET_KEY=${{ secrets.DJANGO_SECRET_KEY }}
21 changes: 0 additions & 21 deletions frontend/.eslintrc.cjs

This file was deleted.

36 changes: 0 additions & 36 deletions frontend/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions frontend/index.html

This file was deleted.

35 changes: 0 additions & 35 deletions frontend/package.json

This file was deleted.

Loading

0 comments on commit e3b160b

Please sign in to comment.