Skip to content

Commit

Permalink
Merge pull request #783 from rossneilson/feature/beta-preview
Browse files Browse the repository at this point in the history
feat: Adding beta preview build
  • Loading branch information
rossneilson authored Apr 12, 2022
2 parents acab87d + 777628e commit 737e56c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- master
- develop
- v1.1-beta
pull_request:
types: [opened, synchronize, reopened]

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ jobs:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
if: steps.source-run-info.outputs.sourceHeadRepo == 'DXgovernance/dxvote' && steps.source-run-info.outputs.sourceHeadBranch == 'develop'

- name: Update DNS record for 1.1 beta branch
run: npx dnslink-cloudflare --domain dxvote.dev --record _dnslink.beta --link /ipfs/${{ steps.web3.outputs.cid }}
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
if: steps.source-run-info.outputs.sourceHeadRepo == 'DXgovernance/dxvote' && steps.source-run-info.outputs.sourceHeadBranch == 'v1.1-beta'

- name: Update DNS record for Master branch
run: npx dnslink-cloudflare --domain dxvote.dev --record _dnslink --link /ipfs/${{ steps.web3.outputs.cid }}
env:
Expand Down

0 comments on commit 737e56c

Please sign in to comment.