Skip to content

Commit

Permalink
Merge pull request #24 from withanage/main
Browse files Browse the repository at this point in the history
Set the pkp-machein-user for datasets
  • Loading branch information
withanage authored Apr 28, 2024
2 parents 2e2f465 + 040f30e commit b905f52
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/upload-to-datasets-repository.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export FILESDUMP=files.tar.gz # Path and filename where a database dump can be c
tar czf ${FILESDUMP} ${FILESDIR}

# If desired, store the built dataset in https:/pkp/datasets
git clone --depth 1 https://xmlFlow:${DATASETS_ACCESS_KEY}@github.com/xmlFlow/datasets ~/datasets
git clone --depth 1 https://pkp-machine-user:${DATASETS_ACCESS_KEY}@github.com/pkp/datasets ~/datasets
rm -rf ~/datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}
mkdir -p ~/datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}
zcat ${DATABASEDUMP} > ~/datasets/${APPLICATION}/${DATASET_BRANCH}/${TEST}/database.sql
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ https:/your_username/pkp-lib/tree/feature_branch/.github/workflows/s
```
steps:
- uses: xmlFlow/pkp-github-actions@v1
- uses: pkp/pkp-github-actions@v1
with:
repository:your_username
branch = my-feature-branch
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
steps:
- uses: actions/checkout@v4
with:
repository: 'xmlFlow/pkp-github-actions'
repository: 'pkp/pkp-github-actions'
path: pkp-github-actions
ref: v1

Expand Down Expand Up @@ -217,7 +217,7 @@ runs:
DBTYPE: ${{matrix.database=='pgsql' && 'PostgreSQL' || 'MySQLi'}}

- name: Upload datasets (SAVE Build)
if: ${{matrix.SAVE_BUILD == 'save_build' && github.repository_owner == 'xmlFlow' && inputs.dataset_branch != '' }}
if: ${{matrix.SAVE_BUILD == 'save_build' && github.repository_owner == 'pkp' && inputs.dataset_branch != '' }}
run: |
cd ~/${{matrix.application || inputs.application || github.event.repository.name }}
${{ github.workspace }}/pkp-github-actions/.github/actions/upload-to-datasets-repository.sh
Expand Down

0 comments on commit b905f52

Please sign in to comment.