Commit 48a962a7 authored by Zach Pomerantz's avatar Zach Pomerantz Committed by GitHub

build: enable auto-release (#4058)

parent 9a55402b
name: Release name: Release
on: on:
# Scheduled deploys are disabled until they can be tested. This is currently blocked on flaky cypress tests. schedule:
# schedule: - cron: '0 12 * * 1-4' # every day 12:00 UTC Monday-Thursday
# - cron: '0 12 * * 1-4' # every day 12:00 UTC Monday-Thursday
# In the meantime, deploy manually. There is a 10-minute timeout, during which you should request the resources through Cloudflare.
# manual trigger # manual trigger
workflow_dispatch: workflow_dispatch:
...@@ -13,11 +11,12 @@ jobs: ...@@ -13,11 +11,12 @@ jobs:
steps: steps:
- uses: jitterbit/await-check-suites@v1 - uses: jitterbit/await-check-suites@v1
with: with:
timeoutSeconds: 600
# Only wait for the first check suite, so that only tests are awaited, and not eg crowdin. # Only wait for the first check suite, so that only tests are awaited, and not eg crowdin.
onlyFirstCheckSuite: true onlyFirstCheckSuite: true
tag: tag:
# needs: wait-on-test needs: wait-on-test
runs-on: ubuntu-latest runs-on: ubuntu-latest
outputs: outputs:
new_tag: ${{ steps.github-tag-action.outputs.new_tag }} new_tag: ${{ steps.github-tag-action.outputs.new_tag }}
...@@ -65,20 +64,8 @@ jobs: ...@@ -65,20 +64,8 @@ jobs:
with: with:
cidv0: ${{ steps.pinata.outputs.hash }} cidv0: ${{ steps.pinata.outputs.hash }}
# Delay updating DNS to give IPFS a chance to propagate.
- run: sleep 600 - run: sleep 600
# - uses: actions/cache@v3
# id: cypress-cache
# with:
# path: /home/runner/.cache/Cypress
# key: ${{ runner.os }}-cypress-${{ hashFiles('node_modules/cypress') }}
# - if: steps.cypress-cache.outputs.cache-hit != 'true'
# run: yarn cypress install
# - uses: cypress-io/github-action@v4
# with:
# install: false
# browser: chrome
# spec: cypress/e2e/landing.test.ts
# config: pageLoadTimeout=180000,retries=4,baseUrl=https://cloudflare-ipfs.com/ipfs/${{ steps.pinata.outputs.hash }}
- name: Update DNS with new IPFS hash - name: Update DNS with new IPFS hash
env: env:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment