Skip to content

Commit

Permalink
ci: depoy to dev docker only from branch develop
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Aug 26, 2023
1 parent 2a9507f commit 210b501
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ on:
push:
branches:
- develop
- roles
pull_request:
branches: [develop]

jobs:
build-local:
Expand Down Expand Up @@ -37,24 +38,6 @@ jobs:
retention-days: 1


# test-golang:
# runs-on: [ubuntu-latest]
# needs: build-local
# steps:
# - uses: actions/setup-go@v3
# with: { go-version: 1.19 }
#
# - run: go install github.com/go-task/task/v3/cmd/task@latest
#
# - uses: actions/checkout@v3
#
# - run: task deps:tools
# - run: task deps:be
# - run: task compile:be
# - run: task lint:be
# - run: task test


test-db-migration:
runs-on: [ubuntu-latest]
needs: [build-local]
Expand Down Expand Up @@ -111,6 +94,7 @@ jobs:
deploy-dev:
runs-on: [ubuntu-latest]
needs: [test-integration]
if: github.ref == 'refs/heads/develop'
steps:
- uses: actions/setup-go@v3
with: { go-version: 1.19 }
Expand All @@ -119,8 +103,6 @@ jobs:

- uses: actions/checkout@v3

# - run: context=prod task docker:test

- uses: docker/setup-qemu-action@v2

- uses: docker/setup-buildx-action@v2
Expand All @@ -141,8 +123,6 @@ jobs:
tags: semaphoreui/semaphore:develop




# test-docker:
# runs-on: [ubuntu-latest]
# steps:
Expand Down

0 comments on commit 210b501

Please sign in to comment.