Skip to content

feat: add user name and email to the job #2

feat: add user name and email to the job

feat: add user name and email to the job #2

name: Update Contract
on:
push:
branches:
- master
jobs:
update-contract:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Update Contract
run: |
cd contract
git pull origin master
cd ..
git config user.name "Alan Lanceloth"
git config user.email "alan.lanceloth@gmail.com"
git add contract
git commit -m "workflow: Update contract"
git push origin master