Commit 249683b 1 parent 1deb8ae commit 249683b Copy full SHA for 249683b
File tree 5 files changed +4204
-18772
lines changed
5 files changed +4204
-18772
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ jobs:
38
38
npm run lint
39
39
CI=false npm run build
40
40
env :
41
- REACT_APP_API_URL : " http://localhost:8000"
41
+ OAB_API_URL : " http://localhost:8000"
42
42
43
43
- uses : actions/upload-artifact@v4
44
44
with :
45
45
name : build
46
- path : ${{ github.workspace }}/frontend/build /
46
+ path : ${{ github.workspace }}/frontend/dist /
47
47
retention-days : 1
48
48
if-no-files-found : error
49
49
@@ -234,14 +234,13 @@ jobs:
234
234
- uses : actions/download-artifact@v4
235
235
with :
236
236
name : build
237
- path : ${{ github.workspace }}/frontend/build
237
+ path : ${{ github.workspace }}/frontend/dist
238
238
239
239
- name : Run tests
240
240
working-directory : backend
241
241
run : |
242
- ln -s ${{ github.workspace }}/frontend/build/static/css ${{ github.workspace }}/backend/src/openarchiefbeheer/static/css
243
- ln -s ${{ github.workspace }}/frontend/build/static/js ${{ github.workspace }}/backend/src/openarchiefbeheer/static/js
244
- ln -s ${{ github.workspace }}/frontend/build/index.html ${{ github.workspace }}/backend/src/openarchiefbeheer/templates/index.html
242
+ ln -s ${{ github.workspace }}/frontend/dist/static/* ${{ github.workspace }}/backend/src/openarchiefbeheer/static/
243
+ ln -s ${{ github.workspace }}/frontend/dist/index.html ${{ github.workspace }}/backend/src/openarchiefbeheer/templates/index.html
245
244
python src/manage.py compilemessages
246
245
python src/manage.py collectstatic --noinput --link
247
246
python src/manage.py test openarchiefbeheer --tag=e2e
Original file line number Diff line number Diff line change @@ -41,5 +41,5 @@ backend/log/nginx/*.log*
41
41
42
42
# Static files
43
43
backend /src /openarchiefbeheer /templates /index.html
44
- backend /src /openarchiefbeheer /static /css
45
- backend /src /openarchiefbeheer /static /js
44
+ backend /src /openarchiefbeheer /static /* . css
45
+ backend /src /openarchiefbeheer /static /* . js
You can’t perform that action at this time.
0 commit comments