Skip to content

Commit 442a5e2

Browse files
authored
Adding examples pipeline (#12)
1 parent 56d8997 commit 442a5e2

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/examples.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Push examples
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
examples:
9+
name: Push examples to another repository
10+
runs-on: "ubuntu-latest"
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Pushes to another repository
14+
uses: cpina/github-action-push-to-another-repository@master
15+
env:
16+
API_TOKEN_GITHUB: ${{ secrets.VA_GITHUB_TOKEN }}
17+
with:
18+
source-directory: 'examples'
19+
destination-github-username: 'vikinganalytics'
20+
destination-repository-name: 'daeploy-examples'
21+
target-branch: 'master'
22+
user-email: [email protected]

0 commit comments

Comments
 (0)