Skip to content

Commit 1bfd08f

Browse files
authored
Merge pull request #18 from Dargon789/circleci-project-setup
Update config.yml (#17)
2 parents 09d740d + c7cf59d commit 1bfd08f

File tree

1 file changed

+15
-21
lines changed

1 file changed

+15
-21
lines changed

.circleci/config.yml

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
11
# Use the latest 2.1 version of CircleCI pipeline process engine.
22
# See: https://circleci.com/docs/configuration-reference
3-
version: 2.1
43

5-
# Define a job to be invoked later in a workflow.
6-
# See: https://circleci.com/docs/jobs-steps/#jobs-overview & https://circleci.com/docs/configuration-reference/#jobs
7-
jobs:
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/executor-intro/ & https://circleci.com/docs/configuration-reference/#executor-job
4+
version: 2.1
5+
executors:
6+
my-custom-executor:
117
docker:
12-
# Specify the version you desire here
13-
# See: https://circleci.com/developer/images/image/cimg/base
14-
- image: cimg/base:current
8+
- image: cimg/base:stable
9+
auth:
10+
# ensure you have first added these secrets
11+
# visit app.circleci.com/settings/project/github/Dargon789/hardhat-project/environment-variables
12+
username: $DOCKER_HUB_USER
13+
password: $DOCKER_HUB_PASSWORD
14+
jobs:
15+
web3-defi-game-project-:
1516

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

25-
# Orchestrate jobs using workflows
26-
# See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows
2722
workflows:
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.
23+
my-custom-workflow:
3024
jobs:
31-
- say-hello
25+
- web3-defi-game-project-

0 commit comments

Comments
 (0)