training: Change design of addParticipant btn #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD Staging | |
on: | |
push: | |
branches: | |
- 'main' | |
paths-ignore: | |
- '.devcontainer/**' | |
- 'docs/**' | |
- 'tools/**' | |
- '.editorconfig' | |
- '.git*' | |
- '**.md' | |
concurrency: | |
group: ${{ github.workflow }} | |
env: | |
FTP_HOST: w01bad8e.kasserver.com | |
FTP_USER: f015f4cc | |
jobs: | |
vue-client: | |
name: Deploy client | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: 'npm' | |
- name: Configure project | |
env: | |
FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }} | |
run: echo "$FIREBASE_CONFIG" > ./src/firebase/config.ts | |
- name: Build Project with npm | |
run: | | |
npm ci | |
npm run build -- --modern | |
env: | |
VUE_APP_API_ENDPOINT: https://api.app.feuerwehr-parkstetten.de/feuerwehr-app | |
VUE_APP_ANALYTICS_API_KEY: ${{ secrets.ANALYTICS_API_KEY }} | |
- name: Upload app | |
uses: SamKirkland/FTP-Deploy-Action@4.0.0 | |
with: | |
server: ${{ env.FTP_HOST }} | |
username: ${{ env.FTP_USER }} | |
password: ${{ secrets.STAGING_FTP_PASSWORD }} | |
local-dir: ./dist/ | |
state-name: ../.client-ftp-deploy-sync-state.json |