remove extra check in verify auth #204
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Go Binary | |
on: | |
push: | |
branches: | |
- dev | |
# tag should with 3 numbers separated by dot, i.e. 0.4.6 | |
tags: | |
- '*.*.*' | |
pull_request: | |
branches: | |
- dev | |
- main | |
jobs: | |
development: | |
if: github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/main' | |
name: Development Environment | |
uses: ./.github/workflows/reusable.yml | |
secrets: inherit | |
with: | |
version: "dev" | |
environment: "dev" | |
is-production: false | |
production: | |
if: startsWith(github.ref, 'refs/tags/') | |
name: Production Environment | |
uses: ./.github/workflows/reusable.yml | |
secrets: inherit | |
with: | |
version: "${{ github.ref_name }}" | |
environment: "prod" | |
is-production: true |