Skip to content

feat: Remove older claim endpoint (#11913) #2869

feat: Remove older claim endpoint (#11913)

feat: Remove older claim endpoint (#11913) #2869

Workflow file for this run

name: 'Staging / master branch'
on:
push:
branches:
- master
jobs:
run-all-tests:
uses: ./.github/workflows/_tests.yml
deploy-locksmith-staging:
if: ${{ github.repository_owner == 'unlock-protocol' }}
needs: run-all-tests
uses: ./.github/workflows/_heroku.yml
with:
bypass_diff_check: bypass
service: locksmith
app-name: unlock-locksmith-staging
secrets:
HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }}
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
deploy-locksmith-websub-staging:
if: ${{ github.repository_owner == 'unlock-protocol' }}
needs: run-all-tests
uses: ./.github/workflows/_heroku.yml
with:
bypass_diff_check: bypass
service: locksmith-websub
build-dir: locksmith
command: 'yarn websub:prod'
container-type: worker
app-name: locksmith-websub-staging
secrets:
HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }}
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
# Netlify Deployments
# The unlock-protocol-com site is built from `master` as we don't use a staging site for it.
deploy-unlock-protocol-com-production:
if: ${{ github.repository_owner == 'unlock-protocol' }} # make sure we dont deploy from forks
needs: run-all-tests
uses: ./.github/workflows/_netlify.yml
with:
bypass_diff_check: bypass
service: unlock-protocol-com
target-env: prod
secrets:
SITE_ID: ${{ secrets.UNLOCK_PROTOCOL_COM_NETLIFY_PROD_SITE_ID }}
AUTH_TOKEN: ${{ secrets.UNLOCK_PROTOCOL_COM_NETLIFY_PROD_AUTH_TOKEN }}
NEXT_PUBLIC_UNLOCK_GA_ID: ${{ secrets.UNLOCK_PROTOCOL_COM_NETLIFY_PROD_UNLOCK_GA_ID }}
NEXT_PUBLIC_UNLOCK_ENV: prod
deploy-paywall-app:
if: ${{ github.repository_owner == 'unlock-protocol' }}
needs: run-all-tests
uses: ./.github/workflows/_netlify.yml
with:
service: paywall-app
target-env: staging
bypass_diff_check: bypass
secrets:
SITE_ID: ${{ secrets.PAYWALL_APP_NETLIFY_STAGING_SITE_ID }}
AUTH_TOKEN: ${{ secrets.PAYWALL_APP_NETLIFY_STAGING_AUTH_TOKEN }}
deploy-wedlocks:
if: ${{ github.repository_owner == 'unlock-protocol' }}
needs: run-all-tests
uses: ./.github/workflows/_netlify.yml
with:
service: wedlocks
target-env: staging
bypass_diff_check: bypass
secrets:
SITE_ID: ${{ secrets.WEDLOCKS_NETLIFY_STAGING_SITE_ID }}
AUTH_TOKEN: ${{ secrets.WEDLOCKS_NETLIFY_STAGING_AUTH_TOKEN }}
SMTP_HOST: ${{ secrets.WEDLOCKS_NETLIFY_STAGING_SMTP_HOST }}
SMTP_USERNAME: ${{ secrets.WEDLOCKS_NETLIFY_STAGING_SMTP_USERNAME }}
SMTP_PASSWORD: ${{ secrets.WEDLOCKS_NETLIFY_STAGING_SMTP_PASSWORD }}
BASE64_WEDLOCKS_PRIVATE_KEY: ${{ secrets.WEDLOCKS_NETLIFY_STAGING_BASE64_WEDLOCKS_PRIVATE_KEY }}
deploy-unlock-app:
if: ${{ github.repository_owner == 'unlock-protocol' }}
needs: run-all-tests
uses: ./.github/workflows/_netlify.yml
with:
service: unlock-app
target-env: staging
bypass_diff_check: bypass
secrets:
SITE_ID: ${{ secrets.UNLOCK_APP_NETLIFY_STAGING_SITE_ID }}
AUTH_TOKEN: ${{ secrets.UNLOCK_APP_NETLIFY_STAGING_AUTH_TOKEN }}
NEXT_PUBLIC_BASE64_WEDLOCKS_PUBLIC_KEY: ${{ secrets.UNLOCK_APP_NETLIFY_STAGING_BASE64_WEDLOCKS_PUBLIC_KEY }}
NEXT_PUBLIC_STRIPE_KEY: ${{ secrets.UNLOCK_APP_NETLIFY_STAGING_STRIPE_KEY }}
NEXT_PUBLIC_ETHPASS_KEY: ${{ secrets.UNLOCK_APP_NETLIFY_STAGING_ETHPASS_KEY }}
cache_deps:
uses: ./.github/workflows/_docker-cache.yml
needs: run-all-tests
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}