Skip to content

Commit

Permalink
Update challenges description
Browse files Browse the repository at this point in the history
  • Loading branch information
gianalarcon committed Aug 15, 2024
1 parent c2afed3 commit 84d45c6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 19 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ run-name: Build and deploy number ${{github.run_number}} started by @${{ github.

on:
pull_request:
types: [ closed ]
branches: [ main ]
types: [closed]
branches: [main]
paths:
- "packages/nextjs/**"

env:
REGION: us-east-1

jobs:

build:
runs-on: ubuntu-22.04
outputs:
Expand All @@ -21,7 +20,6 @@ jobs:
TAG: ${{ steps.bump-version.outputs.NEW_VERSION }}

steps:

- name: Checkout Files
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -102,7 +100,6 @@ jobs:
git push origin HEAD:$GITHUB_REF_NAME --follow-tags
deploy:

runs-on: ubuntu-22.04
needs: build
if: ${{ success() }}
Expand All @@ -112,17 +109,15 @@ jobs:
TAG: ${{ needs.build.outputs.TAG }}

steps:

- name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.PRIVATE_KEY }}

- name: Add server to known hosts
run: |
mkdir -p ~/.ssh
ssh-keyscan -H ${{ secrets.REMOTE_SERVER_ADDRESS }} >> ~/.ssh/known_hosts
- name: Create container from ECR
if: success()
Expand Down Expand Up @@ -187,21 +182,20 @@ jobs:
nginx:
runs-on: ubuntu-22.04
needs: [build,deploy]
needs: [build, deploy]
if: ${{ success() }}

steps:

- name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.PRIVATE_KEY }}

- name: Add server to known hosts
run: |
mkdir -p ~/.ssh
ssh-keyscan -H ${{ secrets.REMOTE_SERVER_ADDRESS }} >> ~/.ssh/known_hosts
- name: Setup nginx
if: success()
run: |
Expand Down Expand Up @@ -269,4 +263,4 @@ jobs:
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
slack-message: "GitHub build result: ${{ job.status }}\nRepository Name: ${{ github.repository }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
1 change: 0 additions & 1 deletion .yarn/plugins/@yarnpkg/plugin-typescript.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ module.exports = {
return plugin;
}
};

7 changes: 4 additions & 3 deletions packages/nextjs/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ const Home: NextPage = () => {
<span className="sm:text-[12px] sm:text-center leading-7 sm:text-xs">
The Core-Stars is a curated group of Starknet builders
creating products, prototypes, and protocols to enrich the
web3 ecosystem. A place to ask for support, show off your builds and meet
other builders. Start crafting your Web3 portfolio by
submitting your DEX, onchain Game or SVG NFT build.
web3 ecosystem. A place to ask for support, show off your
builds and meet other builders. Start crafting your Web3
portfolio by submitting your DEX, onchain Game or SVG NFT
build.
</span>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions packages/nextjs/data-challenges/challenges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ const allChallenges = [
challenge: "Challenge #1",
title: "🥩 Decentralized Staking App",
description:
"🦸 A superpower of Starknet is allowing you, the builder, to create a simple set of rules that an adversarial group of players can use to work together. In this challenge, you create a decentralized application where users can coordinate a group funding effort. The users only have to trust the code.",
"🦸 A superpower of Starknet is allowing you, the builder, to create a simple set of rules that an adversarial group of players can use to work together. In this challenge, you create a decentralized application where users can coordinate a group funding effort. We'll learn about the approve pattern for ERC20s andThe users only have to trust the code.",
imageUrl: "/stakingToken.png",
id: "decentralized-staking",
},
{
challenge: "Challenge #2",
title: "🏵 Token Vendor",
description:
"🤖 Smart contracts are kind of like \"always on\" vending machines that anyone can access. Let's make a decentralized, digital currency (an ERC20 token in Cairo for Starknet). Then, let's build an unstoppable vending machine that will buy and sell the currency. We'll learn about the approve pattern for ERC20s and how contract to contract interactions work.",
"🤖 Smart contracts are kind of like \"always on\" vending machines that anyone can access. Let's make a decentralized, digital currency (an ERC20 token in Cairo for Starknet). Then, let's build an unstoppable vending machine that will buy and sell the currency. We'll learn about how contract to contract interactions work.",
imageUrl: "/tokenVendor.png",
border: true,
id: "token-vendor",
Expand Down

0 comments on commit 84d45c6

Please sign in to comment.