Skip to content

Commit

Permalink
github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragos0000 committed Nov 12, 2023
1 parent 5e15a46 commit 9fb43bb
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/model-2owl-validator-refresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout model2owl repository
uses: actions/checkout@v2
uses: actions/checkout@v3


- name: Copy folder to destination repository
Expand All @@ -25,8 +25,14 @@ jobs:
cp -r model2owl/src destination-repo
ls -la destination-repo
ls -la destination-repo/src
- name: Configure Git
run: |
git config --local user.email "action@github.com"
git config --local user.name "github-actions"
- name: Checkout model2owl validator repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: meaningfy-ws/model2owl-validator
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -46,9 +52,6 @@ jobs:
- name: Commit and Push to destination repository
run: |
git config --local user.email "action@github.com"
git config --local user.name "github-actions"
git add .
git commit -m "Copy src folder from model2owl repository"
git push origin main

0 comments on commit 9fb43bb

Please sign in to comment.