Files
dancefetcher/.gitea/workflows/ci.yaml
T
argoyle 94227f00ac
dancefetcher / build (push) Failing after 2m2s
dancefetcher / deploy-prod (push) Has been skipped
Merge pull request 'chore(deps): update actions/checkout action to v6' (#145) from renovate/actions-checkout-6.x into master
Reviewed-on: #145
2026-01-07 18:33:40 +00:00

35 lines
869 B
YAML

name: dancefetcher
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
env:
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
steps:
- uses: actions/checkout@v6
- uses: buildtool/setup-buildtools-action@v1
- name: Build and push
run: unset GITEA_TOKEN && build && push
deploy-prod:
needs: build
if: gitea.ref == 'refs/heads/master'
runs-on: ubuntu-latest
env:
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
KUBECONFIG_CONTENT: ${{ secrets.KUBECONFIG_CONTENT }}
environment: prod
steps:
- uses: actions/checkout@v6
- uses: buildtool/setup-buildtools-action@v1
- name: Deploy
run: deploy prod