Skip to content

Commit

Permalink
Merge pull request #125 from RRZE-Webteam/FAU-408
Browse files Browse the repository at this point in the history
[FAU-408] Add build and push assets workflow
  • Loading branch information
amiut authored Apr 30, 2024
2 parents 1cccae5 + 3ed389d commit ce12995
Show file tree
Hide file tree
Showing 320 changed files with 27 additions and 36,053 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build to release branches

on:
workflow_dispatch:
push:
tags: ['*']
branches:
- dev-beta
- dev-main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
build-assets:
uses: inpsyde/reusable-workflows/.github/workflows/build-and-push-assets.yml@main
with:
PHP_VERSION: '8.1'
PHP_TOOLS: composer:v2
BUILT_BRANCH_NAME: "${{ (github.ref_name == 'dev-main' && 'main' || (github.ref_name == 'dev-beta' && 'beta') || '') }}"
MODE: "${{ github.ref_name == 'dev-beta' && 'dev' || 'prod' }}"
secrets:
GITHUB_USER_EMAIL: ${{ secrets.DEPLOYBOT_EMAIL }}
GITHUB_USER_NAME: ${{ secrets.DEPLOYBOT_USER }}
14 changes: 0 additions & 14 deletions .github/workflows/build.yml

This file was deleted.

1 change: 0 additions & 1 deletion assets/css/dashboard-settings.css

This file was deleted.

1 change: 0 additions & 1 deletion assets/css/degree-program-list-table.css

This file was deleted.

49 changes: 0 additions & 49 deletions assets/entrypoints.json

This file was deleted.

13 changes: 0 additions & 13 deletions assets/manifest.json

This file was deleted.

1 change: 0 additions & 1 deletion assets/ts/defs.asset.php

This file was deleted.

1 change: 0 additions & 1 deletion assets/ts/defs.js

This file was deleted.

1 change: 0 additions & 1 deletion assets/ts/degree-program-editor.asset.php

This file was deleted.

1 change: 0 additions & 1 deletion assets/ts/degree-program-editor.css

This file was deleted.

Loading

0 comments on commit ce12995

Please sign in to comment.