Skip to content

Commit

Permalink
Update website-sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimstir authored Mar 22, 2024
1 parent 236eb3b commit 63aefc8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/website-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
types: [closed]
branches:
- main
actions:
- closed

jobs:
sync:
Expand All @@ -17,7 +15,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Clone Repository B
- name: Clone Website Repo
run: |
git clone [email protected]:vacp2p/rfc-website.git
cd rfc-website
Expand All @@ -29,13 +27,13 @@ jobs:
run: |
echo "::set-output name=files::$(git diff --name-only ${{ github.event.before }} ${{ github.sha }})"
- name: Copy changed files to Website
- name: Copy changed files to Website Repo
run: |
for file in ${{ steps.changed_files.outputs.files }}; do
cp --parents "$file" rfc-website/
done
- name: Push changes to Repository B
- name: Push changes to Website Repo
run: |
cd rfc-website
git add .
Expand Down

0 comments on commit 63aefc8

Please sign in to comment.