This repository has been archived by the owner on Aug 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Majorfi
committed
Aug 22, 2022
1 parent
07732dc
commit 5078fb7
Showing
1 changed file
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,15 +32,26 @@ jobs: | |
- name: Generate build artifact | ||
run: node scripts/build.mjs | ||
|
||
- name: Sync to IPFS | ||
id: upload | ||
uses: nymmrx/ipfs-deploy@master | ||
- name: Upload to IPFS | ||
uses: aquiladev/[email protected] | ||
id: ipfs | ||
with: | ||
path: "./build" | ||
pin-name: Yearn Meta | ||
pinata-key: ${{ secrets.PINATA_KEY }} | ||
pinata-secret: ${{ secrets.PINATA_SECRET }} | ||
cloudflare-zone-id: ${{ secrets.CLOUDFLARE_ZONE }} | ||
cloudflare-secret: ${{ secrets.CLOUDFLARE_SECRET }} | ||
record-domain: yearn.network | ||
record-name: _dnslink.meta | ||
path: './build/' | ||
host: ${{ secrets.IPFS_HOST }} | ||
port: ${{ secrets.IPFS_PORT }} | ||
protocol: http | ||
|
||
- name: Get Timestamp Action | ||
uses: nanzm/[email protected] | ||
id: time | ||
with: | ||
format: 'YYYYMMDDHHmmss' | ||
|
||
- name: Create Release | ||
uses: Hs1r1us/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: "${{ steps.time.outputs.time }}/${{ steps.ipfs.outputs.hash }}" | ||
release_name: ${{ steps.ipfs.outputs.hash }} | ||
body: '[ipfs://${{ steps.ipfs.outputs.hash }}](ipfs://${{ steps.ipfs.outputs.hash }}) - [ipfs.io](https://ipfs.io/ipfs/${{ steps.ipfs.outputs.hash }})' |
5078fb7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
yearn-meta – ./
meta.yearn.finance
meta.yearn.network
yearn-meta.yearn.farm
yearn-meta-git-master.yearn.farm