Skip to content

Commit

Permalink
Update update_from_private.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandesh-L authored Jul 16, 2024
1 parent 255c550 commit 8e05763
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/update_from_private.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:
ref: main

- name: Checkout private repository
uses: actions/checkout@v3
with:
repository: access-ci-org/ACCESS-SDS
token: ${{ secrets.PAT }}
path: private-sds-repo

run: |
mkdir -p ../priavte-sds-repo
git clone https://github.com/access-ci-org/ACCESS-SDS ../private-sds-repo
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
- name: Install rclone
run: |
curl https://rclone.org/install.sh | sudo bash
- name: Sync files
run: |
rclone sync private-sds-repo/ . --exclude='.git/**' --exclude='.github/**' --exclude='README.md'
rm -r private-sds-repo
rclone sync ../private-sds-repo/ . --exclude='.git/**' --exclude='.github/**' --exclude='README.md'
rm -r ../private-sds-repo
- name: Commit and push changes
run: |
Expand Down

0 comments on commit 8e05763

Please sign in to comment.