threshold-network / website

1 stars 10 forks source link

Automatic prod deployments #8

Closed r-czajkowski closed 2 years ago

r-czajkowski commented 2 years ago

Closes: #7

This PR adds a GH workflow that deploys the preview to preview.threshold.network on every pull request that targets to main branch and deploys website to threshold.network on push to main branch.

netlify[bot] commented 2 years ago

✔️ Deploy Preview for lucid-roentgen-b5d3b0 ready!

🔨 Explore the source changes: 4329bba1c5e0d1c28a185bf87c22363d6087b954

🔍 Inspect the deploy log: https://app.netlify.com/sites/lucid-roentgen-b5d3b0/deploys/62063faf45aff00008d067ae

😎 Browse the preview: https://deploy-preview-8--lucid-roentgen-b5d3b0.netlify.app

netlify[bot] commented 2 years ago

✔️ Deploy Preview for agitated-bell-d01e4e ready!

🔨 Explore the source changes: 4329bba1c5e0d1c28a185bf87c22363d6087b954

🔍 Inspect the deploy log: https://app.netlify.com/sites/agitated-bell-d01e4e/deploys/62063faf47c6af00072ac342

😎 Browse the preview: https://deploy-preview-8--agitated-bell-d01e4e.netlify.app

nkuba commented 2 years ago

We just need to configure the secrets and see if it works before we merge.

pdyraga commented 2 years ago

Can we clear the preview.threshold.network bucket once the previewed PR is merged? We do not have to block this PR but I think we should have this functionality both in this repo and in threshold-network/token-dashboard. We do not want to leave dangling, old code under the official domain. It is not helpful for SEO and can lead to security issues in case some scammer points someone to an old dashboard preview link.

Edit: captured in #9

github-actions[bot] commented 2 years ago

Preview uploaded to https://preview.threshold.network/prod-deployment/index.html.

github-actions[bot] commented 2 years ago

Preview uploaded to https://preview.threshold.network/prod-deployment/index.html.

github-actions[bot] commented 2 years ago

Preview uploaded to https://preview.threshold.network/prod-deployment/index.html.