Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Back to full workflow
Browse files Browse the repository at this point in the history
Github actions have problems right now
  • Loading branch information
tobiasdiez committed Feb 5, 2022
1 parent 2b989ce commit 361c95b
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ concurrency:
jobs:
build-docs:
runs-on: ubuntu-latest
# container: ghcr.io/sagemath/sage/sage-docker-ubuntu-focal-standard-with-targets:9.5
container: ghcr.io/sagemath/sage/sage-docker-ubuntu-focal-standard-with-targets:9.5
steps:
- name: Checkout
uses: actions/checkout@v2

# - name: Prepare
# run: |
# # Reuse built SAGE_LOCAL contained in the Docker image
# ./bootstrap
# ./configure --enable-build-as-root --prefix=/sage/local --with-sage-venv
- name: Prepare
run: |
# Reuse built SAGE_LOCAL contained in the Docker image
./bootstrap
./configure --enable-build-as-root --prefix=/sage/local --with-sage-venv
# - name: Build
# run: make doc-html
# env:
# MAKE: make -j2
# SAGE_NUM_THREADS: 2
- name: Build
run: make doc-html
env:
MAKE: make -j2
SAGE_NUM_THREADS: 2

# - name: Deploy to Netlify
# uses: nwtgck/[email protected]
# with:
# publish-dir: './local/share/doc/sage/html/en'
# production-branch: master
# github-token: ${{ secrets.GITHUB_TOKEN }}
# enable-pull-request-comment: false # We don't have github pull-requests
# alias: ${{ github.ref_name }}
# env:
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
publish-dir: './local/share/doc/sage/html/en'
production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }}
enable-pull-request-comment: false # We don't have github pull-requests
alias: ${{ github.ref_name }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

0 comments on commit 361c95b

Please sign in to comment.