Skip to content

test link check workflow change #238

test link check workflow change

test link check workflow change #238

Workflow file for this run

# This is workflow for spell checking using PySpelling lib (https://pypi.org/project/pyspelling/)

Check failure on line 1 in .github/workflows/linkcheck.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/linkcheck.yml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
name: linkcheck_website
on:
# run two times a weekday
schedule:
- cron: '31 18 * * 2,4'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test_send_mail:
runs-on: ubuntu-latest
steps:
uses: dawidd6/action-send-mail@v3
with:
server_address: ${{secrets.MAIL_HOST}}
server_port: ${{secrets.MAIL_PORT}}
secure: true
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: Failed linkcheck
to: [email protected]
from: FusionAuth GitHub Actions
body: Linkcheck failed.
check_links:
runs-on: ubuntu-latest
steps:
# linkcheck
- uses: actions/checkout@v4
- uses: filiph/[email protected]
with:
arguments: https://fusionauth.io/ --skip-file config/linkcheck/linkcheck-skip.txt --connection-failures-as-warnings
name: linkcheck
- name: Send mail
send_mail_on_failure:
needs: check_links
runs-on: ubuntu-latest
if: ${{ failure() }}
steps:
uses: dawidd6/action-send-mail@v3
with:
server_address: ${{secrets.MAIL_HOST}}
server_port: ${{secrets.MAIL_PORT}}
secure: true
username: ${{secrets.MAIL_USERNAME}}
password: ${{secrets.MAIL_PASSWORD}}
subject: Failed linkcheck
to: [email protected]
from: FusionAuth GitHub Actions
body: Linkcheck failed.