Skip to content

Cleaning isn't necessary #59

Cleaning isn't necessary

Cleaning isn't necessary #59

name: Build and Deploy [Linux]
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-22.04
permissions:
contents: write
steps:

Check failure on line 13 in .github/workflows/linux-build-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/linux-build-deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.84.0'
- name: Setup Link Verifier
run: |
wget https://github.com/bmuschko/link-verifier/releases/download/v0.7/link-verifier-0.7-linux-amd64.tar.gz -O /tmp/link-verifier.tar.gz
tar -xvf /tmp/link-verifier.tar.gz
export PATH=$PATH:$PWD/link-verifier/
# - name: Verify links
# run: ./link-verifier --dirs layouts --includes *.html --ignore-status-codes 999,400,429,403 --timeout 90
- name: Build
run: |
hugo
echo automatedascent.com >> public/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public