| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9a55402 commit 48a962a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,9 +1,7 @@ | |||
| 1 | 1 | name: Release | |
| 2 | 2 | on: | |
| 3 | - # Scheduled deploys are disabled until they can be tested. This is currently blocked on flaky cypress tests. | ||
| 4 | - # schedule: | ||
| 5 | - # - cron: '0 12 * * 1-4' # every day 12:00 UTC Monday-Thursday | ||
| 6 | - # In the meantime, deploy manually. There is a 10-minute timeout, during which you should request the resources through Cloudflare. | ||
| 3 | + schedule: | ||
| 4 | + - cron: '0 12 * * 1-4' # every day 12:00 UTC Monday-Thursday | ||
| 7 | 5 | # manual trigger | |
| 8 | 6 | workflow_dispatch: | |
| 9 | 7 | ||
@@ -13,11 +11,12 @@ jobs: | |||
| 13 | 11 | steps: | |
| 14 | 12 | - uses: jitterbit/await-check-suites@v1 | |
| 15 | 13 | with: | |
| 14 | + timeoutSeconds: 600 | ||
| 16 | 15 | # Only wait for the first check suite, so that only tests are awaited, and not eg crowdin. | |
| 17 | 16 | onlyFirstCheckSuite: true | |
| 18 | 17 | ||
| 19 | 18 | tag: | |
| 20 | - # needs: wait-on-test | ||
| 19 | + needs: wait-on-test | ||
| 21 | 20 | runs-on: ubuntu-latest | |
| 22 | 21 | outputs: | |
| 23 | 22 | new_tag: ${{ steps.github-tag-action.outputs.new_tag }} | |
@@ -65,20 +64,8 @@ jobs: | |||
| 65 | 64 | with: | |
| 66 | 65 | cidv0: ${{ steps.pinata.outputs.hash }} | |
| 67 | 66 | ||
| 67 | + # Delay updating DNS to give IPFS a chance to propagate. | ||
| 68 | 68 | - run: sleep 600 | |
| 69 | - # - uses: actions/cache@v3 | ||
| 70 | - # id: cypress-cache | ||
| 71 | - # with: | ||
| 72 | - # path: /home/runner/.cache/Cypress | ||
| 73 | - # key: ${{ runner.os }}-cypress-${{ hashFiles('node_modules/cypress') }} | ||
| 74 | - # - if: steps.cypress-cache.outputs.cache-hit != 'true' | ||
| 75 | - # run: yarn cypress install | ||
| 76 | - # - uses: cypress-io/github-action@v4 | ||
| 77 | - # with: | ||
| 78 | - # install: false | ||
| 79 | - # browser: chrome | ||
| 80 | - # spec: cypress/e2e/landing.test.ts | ||
| 81 | - # config: pageLoadTimeout=180000,retries=4,baseUrl=https://cloudflare-ipfs.com/ipfs/${{ steps.pinata.outputs.hash }} | ||
| 82 | 69 | ||
| 83 | 70 | - name: Update DNS with new IPFS hash | |
| 84 | 71 | env: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments