Files
dancefetcher/.gitea/workflows/ci.yaml
T
argoyle a01dfe03e4
dancefetcher / build (pull_request) Successful in 4m34s
dancefetcher / deploy-prod (pull_request) Has been skipped
ci: remove aws-iam-authenticator (using service account auth)
2026-01-08 09:43:09 +01:00

34 lines
809 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 }}
environment: prod
steps:
- uses: actions/checkout@v6
- uses: buildtool/setup-buildtools-action@v1
- name: Deploy
run: deploy prod