Retry netlify build

This commit is contained in:
Simon Binder 2021-03-19 17:05:34 +01:00
parent c1aafa0b9d
commit 92ad6d3154
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 23 additions and 23 deletions

View File

@ -1,4 +1,4 @@
name: Build and deploy to netlify
name: Documentation
on:
push:
pull_request:
@ -6,29 +6,29 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
- name: Get dependencies
run: dart pub get
working-directory: docs
- name: Run build
env:
IS_RELEASE: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }}
run: dart run tool/ci_build.dart
working-directory: docs
- name: Deploy to netlify
uses: nwtgck/actions-netlify@v1.1
with:
production-branch: master
publish-dir: docs/deploy
enable-pull-request-comment: true
enable-commit-comment: false
netlify-config-path: "./netlify.toml"
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
- name: Get dependencies
run: dart pub get
working-directory: docs
- name: Run build
env:
IS_RELEASE: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/master' }}
run: dart run tool/ci_build.dart
working-directory: docs
- name: Deploy to netlify
uses: nwtgck/actions-netlify@v1.1
with:
production-branch: master
publish-dir: docs/deploy
enable-pull-request-comment: true
enable-commit-comment: false
netlify-config-path: "./netlify.toml"
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
linkcheck:
name: Check links in markdown
runs-on: ubuntu-20.04