Merge pull request #25 from GeoscienceAustralia/ve/modernise_actions_… #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Sync Vocabs on Merge to Develop | |
| on: | |
| push: | |
| branches: [ develop ] | |
| workflow_dispatch: | |
| jobs: | |
| changes: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Bring in repo - develop branch | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: develop | |
| - name: Install UV and Prezmanifest | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| uv tool install prezmanifest | |
| - name: Sync Vocabs | |
| env: | |
| FUSEKI_ADMIN_PASSWORD_NONPROD: ${{secrets.FUSEKI_ADMIN_PASSWORD_NONPROD}} | |
| FUSEKI_SPARQL_ENDPOINT_CGI_NONPROD: ${{vars.FUSEKI_SPARQL_ENDPOINT_CGI_NONPROD}} | |
| run: | | |
| pm sync -u admin -p $FUSEKI_ADMIN_PASSWORD_NONPROD manifest.ttl $FUSEKI_SPARQL_ENDPOINT_CGI_NONPROD true false true false |