Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2efe8b05b0 |
@@ -1,8 +1,9 @@
|
|||||||
name: Build & Release
|
name: Build & Release
|
||||||
on:
|
on:
|
||||||
push:
|
workflow_run:
|
||||||
tags:
|
workflows: [ "Run Tests" ]
|
||||||
- '[0-9]+.[0-9]+.[0-9]+'
|
types:
|
||||||
|
- completed
|
||||||
|
|
||||||
env:
|
env:
|
||||||
ENDPOINT: services-3
|
ENDPOINT: services-3
|
||||||
@@ -15,6 +16,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build-docker-image:
|
build-docker-image:
|
||||||
|
if: ${{ gitea.event.workflow_run.conclusion == 'success' && gitea.ref_type == 'tag' }}
|
||||||
runs-on: node20
|
runs-on: node20
|
||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:act-24.04
|
image: catthehacker/ubuntu:act-24.04
|
||||||
|
|||||||
@@ -1,13 +1,9 @@
|
|||||||
name: Run Tests
|
name: Run Tests
|
||||||
on:
|
on:
|
||||||
|
push: {}
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- '**'
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
RUNNER_TOOL_CACHE: /toolcache
|
RUNNER_TOOL_CACHE: /toolcache
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run-tests:
|
run-tests:
|
||||||
runs-on: python
|
runs-on: python
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
set -e
|
|
||||||
|
|
||||||
STREAMLIT_SECRETS_LOCATION=".streamlit/secrets.toml"
|
STREAMLIT_SECRETS_LOCATION=".streamlit/secrets.toml"
|
||||||
touch $STREAMLIT_SECRETS_LOCATION
|
touch STREAMLIT_SECRETS_LOCATION
|
||||||
|
|
||||||
SQLITE_DATABASE="/data/daily-counter.db"
|
SQLITE_DATABASE="/data/daily-counter.db"
|
||||||
SQLITE_DATABASE_URL="sqlite://$SQLITE_DATABASE"
|
SQLITE_DATABASE_URL="sqlite://$SQLITE_DATABASE"
|
||||||
|
|||||||
Reference in New Issue
Block a user