ci: add hosted-runner smoke workflow
This commit is contained in:
parent
e4fc36035b
commit
ff19be3b21
1 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/runner-smoke.yml
Normal file
21
.forgejo/workflows/runner-smoke.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: runner-smoke
|
||||
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
smoke:
|
||||
runs-on: codeberg-medium
|
||||
steps:
|
||||
- name: Basic runner + secret smoke test
|
||||
env:
|
||||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
echo "runner-ok"
|
||||
if [[ -n "${CLOUDFLARE_API_TOKEN:-}" ]]; then
|
||||
echo "secret-present"
|
||||
else
|
||||
echo "secret-missing"
|
||||
exit 2
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue