Skip to content

Merge pull request #40 from DSM-Repo/student #18

Merge pull request #40 from DSM-Repo/student

Merge pull request #40 from DSM-Repo/student #18

Workflow file for this run

on:
push:
branches:
- main
paths:
- "configs/**"
- "packages/teacher/**"
jobs:
build:
permissions:
id-token: write
contents: read
name: Build
runs-on: ubuntu-latest
env:
SERVICE_NAME: teacher
steps:
- name: Check Out The Repository
uses: actions/checkout@v3
- name: Deploy to xquare
uses: team-xquare/xquare-deployment-action@master
with:
environment: prod
access_key: ${{ secrets.ADMIN_ACCESS_KEY }}
base_url: packages/${{ env.SERVICE_NAME }}
config_file_path: packages/${{ env.SERVICE_NAME }}/.xquare/config.yaml
buildargs: |
VITE_APP_BASE_URL=${{ secrets.VITE_SERVER_BASE_URL }}
VITE_APP_URL_MAIN=${{ secrets.VITE_APP_URL_MAIN }}
VITE_APP_URL_STUDENT=${{ secrets.VITE_APP_URL_STUDENT }}
VITE_APP_URL_TEACHER=${{ secrets.VITE_APP_URL_TEACHER }}