Fixes a mistake in server and wikibase crate build

pull/73/head
Tpt 4 years ago
parent 5e027014d1
commit bad49dbdeb
  1. 4
      .github/workflows/release.yml

@ -43,6 +43,7 @@ jobs:
working-directory: ./lib working-directory: ./lib
publish_server_crate: publish_server_crate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: publish_lib_crate
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: rustup update - run: rustup update
@ -53,6 +54,7 @@ jobs:
working-directory: ./server working-directory: ./server
publish_wikibase_crate: publish_wikibase_crate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: publish_lib_crate
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- run: rustup update - run: rustup update
@ -112,7 +114,7 @@ jobs:
repository: oxigraph/oxigraph.github.io repository: oxigraph/oxigraph.github.io
path: website path: website
token: ${{ secrets.FULL_ACCESS_TOKEN }} token: ${{ secrets.FULL_ACCESS_TOKEN }}
- run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10}) - run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
- run: | - run: |
rm -rf ./website/pyoxigraph/stable && mkdir -p ./website/pyoxigraph/stable && cp -r ./python/docs/build/html/* ./website/pyoxigraph/stable/ rm -rf ./website/pyoxigraph/stable && mkdir -p ./website/pyoxigraph/stable && cp -r ./python/docs/build/html/* ./website/pyoxigraph/stable/
mkdir -p ./website/pyoxigraph/$RELEASE_VERSION && cp -r ./python/docs/build/html/* ./website/pyoxigraph/$RELEASE_VERSION/ mkdir -p ./website/pyoxigraph/$RELEASE_VERSION && cp -r ./python/docs/build/html/* ./website/pyoxigraph/$RELEASE_VERSION/

Loading…
Cancel
Save