Compare commits

...

10 Commits
1.0.0 ... main

Author SHA1 Message Date
5e3853ae61 Update .gitea/workflows/laravel.yml
Some checks failed
renovate / renovate (push) Waiting to run
Laravel / laravel-tests (push) Failing after 1s
2026-02-03 22:05:19 +00:00
ff218ddcfa Update .gitea/workflows/renovate.yaml
Some checks failed
Laravel / laravel-tests (push) Has started running
renovate / renovate (push) Has been cancelled
2026-02-03 22:04:41 +00:00
07f45530c1 Merge pull request 'Update ghcr.io/renovatebot/renovate Docker tag to v43.2.6' (#580) from renovate/ghcr.io-renovatebot-renovate-43.x into main
All checks were successful
Laravel / laravel-tests (push) Successful in 4m25s
renovate / renovate (push) Successful in 1m0s
2026-02-03 21:51:24 +00:00
Renovate Bot
b80081e616 Update ghcr.io/renovatebot/renovate Docker tag to v43.2.6
All checks were successful
Laravel / laravel-tests (pull_request) Successful in 4m32s
2026-02-03 21:51:18 +00:00
4af6061100 added GitHub token
Some checks failed
Laravel / laravel-tests (push) Successful in 4m32s
renovate / renovate (push) Has been cancelled
2026-02-03 21:46:03 +00:00
10f5799da2 added commit hash to version
All checks were successful
Laravel / laravel-tests (push) Successful in 4m44s
renovate / renovate (push) Successful in 35s
2026-02-03 22:10:56 +10:00
fffcf8347b display version on site
All checks were successful
Laravel / laravel-tests (push) Successful in 5m8s
renovate / renovate (push) Successful in 45s
2026-02-03 21:56:31 +10:00
2b3325af91 Merge pull request 'Update ghcr.io/renovatebot/renovate Docker tag to v43.2.4' (#579) from renovate/ghcr.io-renovatebot-renovate-43.x into main
Some checks failed
Laravel / laravel-tests (push) Has been cancelled
renovate / renovate (push) Has been cancelled
2026-02-03 11:53:31 +00:00
Renovate Bot
c9071a3bef Update ghcr.io/renovatebot/renovate Docker tag to v43.2.4
All checks were successful
Laravel / laravel-tests (pull_request) Successful in 5m24s
2026-02-03 11:53:29 +00:00
3cc06c2465 ignore deploy script
Some checks failed
Laravel / laravel-tests (push) Successful in 5m1s
renovate / renovate (push) Has been cancelled
2026-02-03 21:47:32 +10:00
5 changed files with 67 additions and 53 deletions

View File

@@ -6,52 +6,50 @@ on:
pull_request: pull_request:
jobs: jobs:
laravel-tests: laravel-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: container:
- uses: actions/checkout@v4 image: ghcr.io/shivammathur/node:latest
- uses: shivammathur/setup-php@v2 steps:
with: - uses: actions/checkout@v4
php-version: "8.4"
- name: Copy .env - name: Verify tools
run: php -r "file_exists('.env') || copy('.env.example', '.env');" run: |
php -v
composer -V
node -v
npm -v
- name: Install PHP Dependencies - name: Install PHP deps
run: composer install -q --no-interaction --no-progress --prefer-dist run: composer install -q --no-interaction --no-progress --prefer-dist
- name: Generate key - name: Install Node deps
run: php artisan key:generate run: npm ci
- name: Directory Permissions - name: Copy env
run: chmod -R 777 storage bootstrap/cache run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Create Database - name: Generate key
run: | run: php artisan key:generate
mkdir -p database
touch database/database.sqlite
- name: Install Node.js - name: Create DB
uses: actions/setup-node@v2 run: |
with: mkdir -p database
node-version: "20" touch database/database.sqlite
- name: Install Node dependencies - name: Migrate
run: npm ci env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: php artisan migrate --force
- name: Build frontend - name: Build assets
run: npm run build run: npm run build
- name: Run migrations - name: Run tests
env: env:
DB_CONNECTION: sqlite DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite DB_DATABASE: database/database.sqlite
run: php artisan migrate --force run: vendor/bin/phpunit
- name: Run PHPUnit
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: vendor/bin/phpunit

View File

@@ -11,7 +11,7 @@ on:
jobs: jobs:
renovate: renovate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:43.2.3 container: ghcr.io/renovatebot/renovate:43.2.6
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -21,4 +21,5 @@ jobs:
RENOVATE_CONFIG_FILE: "renovate-config.json" RENOVATE_CONFIG_FILE: "renovate-config.json"
LOG_LEVEL: "info" LOG_LEVEL: "info"
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}

2
.gitignore vendored
View File

@@ -260,3 +260,5 @@ phpcbf.phar
### PHPStorm ### ### PHPStorm ###
.idea/ .idea/
### Deployment ###
/deploy.sh

View File

@@ -123,5 +123,7 @@ return [
'store' => env('APP_MAINTENANCE_STORE', 'database'), 'store' => env('APP_MAINTENANCE_STORE', 'database'),
], ],
'notice' => env('APP_NOTICE', '') 'notice' => env('APP_NOTICE', ''),
'version' => env('APP_VERSION', 'dev'),
'commit' => env('APP_COMMIT', ''),
]; ];

View File

@@ -2,7 +2,9 @@
<section class="flex flex-col sm:flex-row gap-8 sm:gap-4 mb-12"> <section class="flex flex-col sm:flex-row gap-8 sm:gap-4 mb-12">
<div class="text-center sm:text-left sm:w-2/3 text-sm self-center sm:pr-8">STEMMechanics Australia acknowledges the Traditional Owners of Country throughout Australia and the continuing connection to land, cultures and communities. We pay our respect to Aboriginal and Torres Strait Islander cultures; and to Elders both past, present and emerging.</div> <div class="text-center sm:text-left sm:w-2/3 text-sm self-center sm:pr-8">STEMMechanics Australia acknowledges the Traditional Owners of Country throughout Australia and the continuing connection to land, cultures and communities. We pay our respect to Aboriginal and Torres Strait Islander cultures; and to Elders both past, present and emerging.</div>
<ul class="sm:w-1/3 flex flex-col gap-0.5 text-center sm:text-left"> <ul class="sm:w-1/3 flex flex-col gap-0.5 text-center sm:text-left">
<li><h3 class="font-bold mb-2">Community</h3></li> <li>
<h3 class="font-bold mb-2">Community</h3>
</li>
<li><a href="https://github.com/stemmechanics" class="text-sm hover:text-primary-color">GitHub</a></li> <li><a href="https://github.com/stemmechanics" class="text-sm hover:text-primary-color">GitHub</a></li>
<li><a href="https://discord.gg/yNzk4x7mpD" class="text-sm hover:text-primary-color">Discord</a></li> <li><a href="https://discord.gg/yNzk4x7mpD" class="text-sm hover:text-primary-color">Discord</a></li>
<li><a href="https://www.facebook.com/stemmechanics" class="text-sm hover:text-primary-color">Facebook</a></li> <li><a href="https://www.facebook.com/stemmechanics" class="text-sm hover:text-primary-color">Facebook</a></li>
@@ -11,7 +13,9 @@
<li><a href="https://youtube.com/@STEMMechanics" class="text-sm hover:text-primary-color">YouTube</a></li> <li><a href="https://youtube.com/@STEMMechanics" class="text-sm hover:text-primary-color">YouTube</a></li>
</ul> </ul>
<ul class="sm:w-1/3 flex flex-col gap-0.5 text-center sm:text-left"> <ul class="sm:w-1/3 flex flex-col gap-0.5 text-center sm:text-left">
<li><h3 class="font-bold mb-2">STEMMechanics</h3></li> <li>
<h3 class="font-bold mb-2">STEMMechanics</h3>
</li>
<li><a href="{{ route('about') }}" class="text-sm hover:text-primary-color">About</a></li> <li><a href="{{ route('about') }}" class="text-sm hover:text-primary-color">About</a></li>
<li><a href="{{ route('contact') }}" class="text-sm hover:text-primary-color">Contact Us</a></li> <li><a href="{{ route('contact') }}" class="text-sm hover:text-primary-color">Contact Us</a></li>
<li><a href="{{ route('code-of-conduct') }}" class="text-sm hover:text-primary-color">Code of Conduct</a></li> <li><a href="{{ route('code-of-conduct') }}" class="text-sm hover:text-primary-color">Code of Conduct</a></li>
@@ -21,6 +25,13 @@
</section> </section>
<section class="border-t border-t-gray-600 pt-8 flex justify-between text-xs items-center flex-col sm:flex-row"> <section class="border-t border-t-gray-600 pt-8 flex justify-between text-xs items-center flex-col sm:flex-row">
<div class="mb-3 sm:mb-0">@includeSVG('logo.svg', 'width:10rem;margin-top:-0.2rem;color:#DDD')</div> <div class="mb-3 sm:mb-0">@includeSVG('logo.svg', 'width:10rem;margin-top:-0.2rem;color:#DDD')</div>
<div>Made with ❤️&nbsp;© {{ date('Y') }} STEMMechanics</div> @php $commit = config('app.commit'); @endphp
<div>
Made with ❤️&nbsp;© {{ date('Y') }} STEMMechanics
v{{ config('app.version') }}
@if(!empty($commit))
({{ substr($commit, 0, 10) }})
@endif
</div>
</section> </section>
</footer> </footer>