Skip to content

Commit

Permalink
Docker for job
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Jun 30, 2023
1 parent 9ffdf9c commit 2e696df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
if: github.event_name == 'push' && github.ref_name == 'ebourne_doc_setup_test'
needs: docker
runs-on: ubuntu-latest
container: ghcr.io/gyselax/voicexx_env:${{ github.sha }}
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -60,13 +61,12 @@ jobs:
ref: documentation
path: doc_branch
- name: Generate docs
using: 'docker'
image: ghcr.io/gyselax/voicexx_env:${{ github.sha }}
run: |
mkdir build
cd build
cmake -DBUILD_DOCUMENTATION=ON ../code_branch
make doc
shell: bash
- name: Update documentation
run: |
cd doc_branch
Expand All @@ -75,5 +75,6 @@ jobs:
git add .
git commit -m "Update docs"
git push
shell: bash
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit 2e696df

Please sign in to comment.