Skip to content

Commit

Permalink
Switch all WFs to shared
Browse files Browse the repository at this point in the history
  • Loading branch information
dincho committed Nov 7, 2023
1 parent c0ca439 commit bbfa396
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 150 deletions.
82 changes: 0 additions & 82 deletions .github/workflows/_deploy.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/_publish.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/_validate.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/mainline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:

jobs:
validate:
uses: ./.github/workflows/_validate.yml
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml
publish:
uses: ./.github/workflows/_publish.yml
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml
needs: [ validate ]
secrets: inherit
deploy:
uses: ./.github/workflows/_deploy.yml
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml
needs: [publish]
secrets: inherit
strategy:
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ on:
pull_request:
branches: [ master ]

env:
GH_WORKFLOWS: aeternity/github-actions/.github/workflows

jobs:
validate:
uses: ${{ env.GH_WORKFLOWS }}/_validate-npm.yml@master
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@master
publish:
uses: ${{ env.GH_WORKFLOWS }}/_publish-docker.yml@master
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@master
needs: [ validate ]
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:

jobs:
validate:
uses: ./.github/workflows/_validate.yml
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@master
publish:
uses: ./.github/workflows/_publish.yml
uses: aeternity/github-actions/.github/workflows/_publish-docker.yml@master
needs: [ validate ]
secrets: inherit
deploy:
uses: ./.github/workflows/_deploy.yml
uses: aeternity/github-actions/.github/workflows/_deploy-gitops.yml@master
needs: [publish]
secrets: inherit
strategy:
Expand Down

0 comments on commit bbfa396

Please sign in to comment.