Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from ensdomains/ci
Browse files Browse the repository at this point in the history
Introduce CI/CD for Versioning
  • Loading branch information
domicoeth authored May 2, 2023
2 parents 22f3256 + 721a94e commit eb7f0ea
Show file tree
Hide file tree
Showing 32 changed files with 95 additions and 30 deletions.
Binary file added .github/banner1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release Mediakit Staging

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+-[0-9]+"

jobs:
deploy:
runs-on: ubuntu-20.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Zip Folder
run: cd media && cp ../LICENSE ./ && zip -r ENS_Media_Kit.zip . && mv ENS_Media_Kit.zip ../

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: true
files: ENS_Media_Kit.zip
generate_release_notes: true
body: |
### This is a pre-release of the ENS Media Kit.
To download the assets see the **Assets** dropdown below. There you will find archive file containing the media-kit.
Please don't forget to checkout the [Brand Guidelines](https://ens.domains/brand-guidelines/) before using the assets.
We hope you have a wonderful day ☀️🌻
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release Mediakit

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

jobs:
deploy:
runs-on: ubuntu-20.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Zip Folder
run: cd media && cp ../LICENSE ./ && zip -r ENS_Media_Kit.zip . && mv ENS_Media_Kit.zip ../

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
prerelease: false
files: ENS_Media_Kit.zip
generate_release_notes: true
body: |
### This is the ENS Media Kit.
To download the assets see the **Assets** dropdown below. There you will find archive file containing the media-kit.
Please don't forget to checkout the [Brand Guidelines](https://ens.domains/brand-guidelines/) before using the assets.
We hope you have a wonderful day ☀️🌻
Binary file removed ENS Media Kit.zip
Binary file not shown.
Binary file removed ENS.png
Binary file not shown.
28 changes: 0 additions & 28 deletions ENS.svg

This file was deleted.

1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
All rights reserved ENS Labs Limited.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
# media-kit
ens media kit resources
[![](.github/banner1.png)](https://github.com/ensdomains/media-kit/releases/latest)

Welcome to the ENS Media Kit. Here you can find logos, icons, and other media assets for ENS.

## 📦 Download

You can download the latest version of the media kit [from the releases tab](https://github.com/ensdomains/media-kit/releases/latest). These files are automatically generated and are the best way to ensure you are using the latest version of the media kit.

## 📖 Brand Guidelines

Before using any please read the [ENS Brand Guidelines](./media/Brand%20Guidelines.pdf) to ensure you are using them correctly. If you have any questions, please [Open an issue](https://github.com/ensdomains/media-kit/issues/new) and let us know, or send an email to [[email protected]](mailto:[email protected]).

## ⚖️ License

Until further notice all rights are reserved by ENS Labs Limited.
File renamed without changes.
7 changes: 7 additions & 0 deletions media/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# 🖼️ ENS Media Kit

Welcome to the ENS Media Kit. Here you can find logos, icons, and other media assets for ENS.

Before using any please read the [ENS Brand Guidelines](./Brand%20Guidelines.pdf) to ensure you are using them correctly.

Can't find the assets you are looking for? [Open an issue](https://github.com/ensdomains/media-kit/issues/new) and let us know, or send an email to [[email protected]](mailto:[email protected]).
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit eb7f0ea

Please sign in to comment.