Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding AGPL License Commentary #160 #165

Merged
merged 23 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: On Push Frontend

on:
push:
branches:
- main
paths:
- packages/frontend/**
pull_request:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Use Node.js 18
uses: actions/setup-node@v4.0.2
with:
node-version: 18
- name: Checkout
uses: actions/checkout@v4.1.7
- name: build frontend
working-directory: packages/frontend
run: |
npm ci
npx nuxi build --preset=azure
- name: deploy frontend
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
working-directory: ./packages/frontend
run: |
npx @azure/static-web-apps-cli deploy .output/public/ --api-location .output/server/ --env production --deployment-token ${{ secrets.AZURE_SWA_DEPLOYMENT_TOKEN }}
- name: Upload build artifact
uses: actions/upload-artifact@v4.3.3
with:
name: packages
path: packages/frontend/.output/**

3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "packages/frontend/qrcode-vue3"]
path = packages/frontend/qrcode-vue3
url = https://github.com/judithweng/qrcode-vue3.git
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


{
"azureFunctions.deploySubpath": "packages/backend",
"azureFunctions.postDeployTask": "install backend",
Expand Down
Loading