Sharing Workflows
Overview
Teaching: 0 min
Exercises: 0 minQuestions
Objectives
We will now create a repository to hold the workflow we just created:
cd myproject
git init
echo '# myproject' > README.md
git add .
git commit -m 'first commit'
Let’s add the workflow file to the repository:
git add wf.yml
git commit -m 'my first workflow'
Sharing workflows via Github
Create a repository on Github. Once your Github repository has been created, register it as a remote repository on your local repository:
git remote add origin git@github.com:<user>/<repo>
where <user>
is your username and <repo>
is the name of the
repository you have created. Then, push your local commits:
git push -u origin master
Key Points