Skip to content

Commit

Permalink
Merge branch 'main' into refactor-schema-generation
Browse files Browse the repository at this point in the history
  • Loading branch information
weinbe58 authored Oct 16, 2023
2 parents 9c87038 + c2cc49b commit 91b5da7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: 3.11
- uses: pdm-project/setup-pdm@v3
name: Setup PDM
with:
Expand All @@ -44,10 +44,10 @@ jobs:
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Depoly documentation
- name: Deploy documentation
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
run: |
git fetch origin gh-pages --depth=1
pdm run mike deploy --rebase --push -F ${GITHUB_WORKSPACE}/mkdocs.yml dev
pdm run mike deploy -p dev
7 changes: 3 additions & 4 deletions .github/workflows/deploy_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Deploy release documentation
runs-on: ubuntu-latest
steps:
- name: Wait for Dev documentation to deploy
- name: Wait for dev documentation to deploy
uses: lewagon/[email protected]
with:
ref: main
Expand Down Expand Up @@ -55,11 +55,10 @@ jobs:
run: |
export RELEASE_TAG_VERSION=${{ github.event.release.tag_name }}
echo "RELEASE_TAG_VERSION=${RELEASE_TAG_VERSION::3}" >> $GITHUB_ENV
- name: Depoly documentation
- name: Deploy documentation
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
run: |
git fetch origin gh-pages --depth=1
pdm run mike deploy --rebase --push -F ${GITHUB_WORKSPACE}/mkdocs.yml --update-aliases latest ${RELEASE_TAG_VERSION}
pdm run mike set-default --rebase --push -F ${GITHUB_WORKSPACE}/mkdocs.yml latest
pdm run mike deploy -up ${RELEASE_TAG_VERSION} latest
9 changes: 8 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ env:

jobs:
documentation:
name: Build documentation
name: Deploy preview documentation
runs-on: ubuntu-latest
steps:
- name: Wait for dev documentation to deploy
uses: lewagon/[email protected]
with:
ref: main
check-name: 'Deploy dev documentation'
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "bloqade"
version = "0.7.1"
version = "0.7.2"
description = "Neutral atom software development kit"
authors = [
{name = "QuEra Computing Inc.", email = "[email protected]"},
Expand Down

0 comments on commit 91b5da7

Please sign in to comment.