Skip to content

Commit

Permalink
Candidate tag (branch) for dry-run l15-dev network
Browse files Browse the repository at this point in the history
Signed-off-by: mxmar <macht4tech@gmail.com>
  • Loading branch information
mxmar committed Oct 15, 2021
1 parent ea6e442 commit 86dc258
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build and deploy
on:
push:
branches:
- 'develop'
- 'v0.2.0-develop'

jobs:
deploy:
Expand All @@ -19,7 +19,7 @@ jobs:
uses: dev-drprasad/delete-tag-and-release@v0.2.0
with:
delete_release: true
tag_name: v0.1.0-develop
tag_name: v0.2.0-develop
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -31,7 +31,7 @@ jobs:
github.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/v0.1.0-develop",
ref: "refs/tags/v0.2.0-develop",
sha: context.sha
})
Expand Down Expand Up @@ -63,17 +63,9 @@ jobs:
uses: softprops/action-gh-release@v1
with:
draft: false
tag_name: v0.1.0-develop
tag_name: v0.2.0-develop
target_commitish: ${{ github.sha }}
files: |
./build/bin/pandora-*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.GH_DISPATCH_TOKEN }}
repository: lukso-network/network-helm-charts
event-type: upgrade_dev
client-payload: '{"repository": "PANDORA", "tag": "v0.1.0-develop"}'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 86dc258

Please sign in to comment.