Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
48a962a7
Unverified
Commit
48a962a7
authored
Jul 07, 2022
by
Zach Pomerantz
Committed by
GitHub
Jul 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: enable auto-release (#4058)
parent
9a55402b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
18 deletions
+5
-18
release.yaml
.github/workflows/release.yaml
+5
-18
No files found.
.github/workflows/release.yaml
View file @
48a962a7
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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment