Deploy website #6871
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the config of the link checker GitHub Action (i.e., https://github.com/marketplace/actions/lychee-link-checker-action). | |
on: [pull_request] | |
name: Link Checker | |
jobs: | |
linkChecker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# - name: Build the site | |
# uses: shafreenAnfar/jekyll-build-action@v5 | |
# - name: Lychee link checker action | |
# id: lc | |
# uses: lycheeverse/[email protected] | |
# with: | |
# args: /learn/** /1.2/** /_site/** --exclude localhost:4000 --exclude twitter.com --exclude disease.sh/v3 --exclude api.github.com --exclude novacodecamp.org --exclude %7B%7B%20site.dist_server%20%7D%7D --exclude %7B%7B%20site.plugin_vscode_repo%20%7D%7D --verbose --base https://pre-prod.ballerina.io *.md *.html | |
# - name: Archive production artifacts | |
# uses: actions/upload-artifact@v2 | |
# with: | |
# name: Link Checker Report | |
# path: ./lychee/out.md | |
# - name: Fail if there were link errors | |
# run: exit ${{ steps.lc.outputs.exit_code }} | |