Skip to content

Commit a261aff

Browse files
committed
Add .circleci/config.yml
1 parent ae82f93 commit a261aff

File tree

1 file changed

+22
-17
lines changed

1 file changed

+22
-17
lines changed

.circleci/config.yml

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
11
# Use the latest 2.1 version of CircleCI pipeline process engine.
2-
# See: https://circleci.com/docs/configuration-reference
3-
2+
# See: https://circleci.com/docs/reference/configuration-reference
43
version: 2.1
5-
executors:
6-
my-custom-executor:
7-
docker:
8-
- image: cimg/base:stable
9-
auth:
10-
# ensure you have first added these secrets
11-
# visit app.circleci.com/settings/project/github/Dargon789/foundry/environment-variables
12-
username: $DOCKER_HUB_USER
13-
password: $DOCKER_HUB_PASSWORD
4+
5+
# Define a job to be invoked later in a workflow.
6+
# See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#jobs-overview & https://circleci.com/docs/reference/configuration-reference/#jobs
147
jobs:
15-
web3-defi-game-project-:
8+
say-hello:
9+
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
10+
# See: https://circleci.com/docs/guides/execution-managed/executor-intro/ & https://circleci.com/docs/reference/configuration-reference/#executor-job
11+
docker:
12+
# Specify the version you desire here
13+
# See: https://circleci.com/developer/images/image/cimg/base
14+
- image: cimg/base:current
1615

17-
executor: my-custom-executor
16+
# Add steps to the job
17+
# See: https://circleci.com/docs/guides/orchestrate/jobs-steps/#steps-overview & https://circleci.com/docs/reference/configuration-reference/#steps
1818
steps:
19+
# Checkout the code as the first step.
1920
- checkout
20-
- run: |
21-
# echo Hello, World!
21+
- run:
22+
name: "Say hello"
23+
command: "echo Hello, World!"
2224

25+
# Orchestrate jobs using workflows
26+
# See: https://circleci.com/docs/guides/orchestrate/workflows/ & https://circleci.com/docs/reference/configuration-reference/#workflows
2327
workflows:
24-
my-custom-workflow:
28+
say-hello-workflow: # This is the name of the workflow, feel free to change it to better match your workflow.
29+
# Inside the workflow, you define the jobs you want to run.
2530
jobs:
26-
- web3-defi-game-project-
31+
- say-hello

0 commit comments

Comments
 (0)