clone: git: image: woodpeckerci/plugin-git settings: tags: true pipeline: build: image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest commands: - nix develop --command scripts/build.sh test: image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest commands: - nix develop --command scripts/test.sh release: image: registry.gitlab.com/dmoonfire/nix-flake-docker:latest commands: - export DRONE="true" # Required to convince `env-ci` that it is a known CI - git branch $DRONE_BRANCH origin/$DRONE_BRANCH # semantic-release needs this locally - nix develop --command scripts/release.sh secrets: - gitea_token when: branch: main gitea: image: plugins/gitea-release settings: api_key: from_secret: gitea_token base_url: https://src.mfgames.com files: exit-planning*.* when: event: tag branch: main tag: v*