Skip to content

Commit

Permalink
add deploy github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralt98 committed Feb 8, 2024
1 parent 30b685d commit c0738c0
Show file tree
Hide file tree
Showing 5 changed files with 150 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy Website

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install dependencies
run: yarn install

- name: Build application
run: yarn build

- name: Deploy website
uses: crustio/[email protected]
with:
cid: QmSkDjtrPkmcMXQXDz6Zo4VjfzNUVtuRWen65yBeeN68zT
seeds: ${{ secrets.CRUST_SEEDS }}
Binary file added public/web3-approved_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/web3-approved_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 13 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
import React from 'react';
import logo from './logo.svg';
import logo2 from './web3-approved_1.svg';
import './App.css';

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<img src={logo2} className="App-logo" alt="logo" />
<p>
This website serves as a placeholder for a future blockchain business.

Edit <code>src/App.tsx</code> and save to reload.
</p>
<a
className="App-link"
href="https://ipfs.apillon.io/ipns/k2k4r8osp5cj66k364xf308w40wrcj3mg7illmptgdl7mr2w41zaf8dd"
target="_blank"
rel="noopener noreferrer"
>
One of a hundred websites hosted for 100 years.
</a>
<p></p>
<a
className="App-link"
href="https://reactjs.org"
Expand Down
Loading

0 comments on commit c0738c0

Please sign in to comment.