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
4e8777c7
Unverified
Commit
4e8777c7
authored
May 20, 2020
by
Moody Salem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create a draft release with the IPFS URLs in the body
parent
9916c84e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
53 deletions
+15
-53
ipfs-deploy.yaml
.github/workflows/ipfs-deploy.yaml
+15
-1
release.yaml
.github/workflows/release.yaml
+0
-52
No files found.
.github/workflows/ipfs-deploy.yaml
View file @
4e8777c7
...
@@ -30,4 +30,18 @@ jobs:
...
@@ -30,4 +30,18 @@ jobs:
id
:
upload
id
:
upload
uses
:
aquiladev/ipfs-action@master
uses
:
aquiladev/ipfs-action@master
with
:
with
:
path
:
build/
path
:
build/
\ No newline at end of file
-
name
:
Create Release
id
:
create_release
uses
:
actions/create-release@v1.0.0
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
tag_name
:
${{ github.ref }}
release_name
:
Release ${{ github.ref }}
draft
:
true
body
:
|
This release can be accessed at the following IPFS URLs:
- https://cloudflare-ipfs.com/ipfs/${{ steps.upload.outputs.hash }}/
- https://ipfs.infura.io/ipfs/${{ steps.upload.outputs.hash }}/
- https://ipfs.io/ipfs/${{ steps.upload.outputs.hash }}/
\ No newline at end of file
.github/workflows/release.yaml
deleted
100644 → 0
View file @
9916c84e
on
:
push
:
# Sequence of patterns matched against refs/tags
tags
:
-
'
v*'
name
:
Build and Release
jobs
:
build
:
name
:
Global Job
strategy
:
matrix
:
node
:
[
'
10.x'
]
os
:
[
ubuntu-latest
]
runs-on
:
${{ matrix.os }}
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@master
-
name
:
Create production build
uses
:
actions/setup-node@master
with
:
node-version
:
${{ matrix.node }}
-
run
:
npm install -g yarn
-
run
:
yarn
-
run
:
yarn build
env
:
REACT_APP_NETWORK_ID
:
${{ secrets.REACT_APP_NETWORK_ID }}
-
name
:
Create Release
id
:
create_release
uses
:
actions/create-release@v1.0.0
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
tag_name
:
${{ github.ref }}
release_name
:
Release ${{ github.ref }}
draft
:
false
prerelease
:
false
-
name
:
Zip the build
uses
:
thedoctor0/zip-release@master
with
:
filename
:
'
build.zip'
path
:
'
./build'
exclusions
:
'
x'
-
name
:
Upload Build
id
:
build-asset
uses
:
actions/upload-release-asset@v1.0.1
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
with
:
upload_url
:
${{ steps.create_release.outputs.upload_url }}
asset_path
:
build.zip
asset_name
:
build.zip
asset_content_type
:
application/zip
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