Skip to content

Commit

Permalink
sqme: moar
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill888 committed Nov 8, 2023
1 parent 18ce024 commit dd51865
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,6 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
enable-pull-request-comment: true
enable-commit-comment: false
alias: ${{ hashFiles('tests/test-env-py38.yml')[:16] }}

env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,33 @@ jobs:
name: rendered-notebooks
path: docs/notebooks
if-no-files-found: error

- name: Build STAC docs
shell: bash
run: |
make -C docs html
- name: Deploy to Netlify
id: netlify
uses: nwtgck/actions-netlify@v2
with:
production-branch: "develop"
publish-dir: "docs/_build/html"
deploy-message: "Deploy from GitHub Actions"
github-token: ${{ secrets.GITHUB_TOKEN }}
enable-pull-request-comment: false
enable-commit-comment: false

env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

- name: Print Notice
uses: actions/github-script@v6
env:
NETLIFY_URL: ${{ steps.netlify.outputs.deploy-url }}
with:
script: |
const {NETLIFY_URL} = process.env
core.notice(`Published to: ${NETLIFY_URL}`)

0 comments on commit dd51865

Please sign in to comment.