Skip to content

Commit

Permalink
deployment, integration and PR 3 (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrjwegrzyn authored Sep 9, 2024
1 parent 1d7370f commit 4ec4a15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/eth_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Create new branch
id: create_branch
run: |
branch_name=new-connector-$(eval "date +%y%m%d-%H%M%S")
echo "branch_name=${branch_name}" >> $GITHUB_OUTPUT
git checkout -b ${branch_name}
- uses: actions/download-artifact@v4
with:
Expand All @@ -77,11 +79,11 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add ui/ integration/
git commit -m "${branch_name}"
git commit -m "${{steps.create_branch.outputs.branch_name}}"
- name: Push changes
run: |
git push origin ${branch_name}
git push origin ${{steps.create_branch.outputs.branch_name}}
- name: Create pull request
run: gh pr create -B master -H ${branch_name} --title 'Merge ${branch_name} into base_branch' --body 'Created by GitHub Action'
run: gh pr create -B master -H ${{steps.create_branch.outputs.branch_name}} --title 'Merge ${{steps.create_branch.outputs.branch_name}} into base_branch' --body 'Created by GitHub Action'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion eth/cyrograf.sol
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ contract Cyrograf {
Background currentBackground;

constructor() {
currentBackground = Background(msg.sender, RGB(200,100,123), RGB(30,20,10));
currentBackground = Background(msg.sender, RGB(1,2,3), RGB(30,20,10));
}

function getBackground() public view returns (Background memory){
Expand Down
2 changes: 0 additions & 2 deletions integration/tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ const fs = require('node:fs/promises');
}
}

await getBackground();
await setBackground(0, 0, 0, 255, 255, 255);
await getBackground();
await setBackground(21, 37, 69, 128, 64, 32);
await getBackground();
Expand Down

0 comments on commit 4ec4a15

Please sign in to comment.