Skip to content

Commit

Permalink
Fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
antarcticrainforest committed Mar 20, 2024
1 parent 94afd71 commit 3be69c1
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
36 changes: 34 additions & 2 deletions .github/workflows/build_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
bump-databrowser-version:
runs-on: ubuntu-latest
needs: build-and-push-image
needs: [build-and-push-image, docs]
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -130,4 +130,36 @@ jobs:
- name: Do the release job
run: python3 bump.py deploy databrowser -b versions -v
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.G docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Set up services
run: |
docker-compose -f dev-env/docker-compose.yaml up -d --remove-orphans
- name: Install dependencies
run: |
python3 -m pip install tox
- name: Creating docs
run: tox -e docs
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
# Upload entire repository
path: './docs/build/html'
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html
2 changes: 1 addition & 1 deletion .github/workflows/ci_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
dependabot:
name: Merge PR by dependabot
runs-on: ubuntu-latest
needs: [ci, docs, build-docker-image]
needs: [ci, build-docker-image]
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Dependabot metadata
Expand Down

0 comments on commit 3be69c1

Please sign in to comment.