Skip to content

Commit

Permalink
trying to lint yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
RickCogley committed Nov 29, 2024
1 parent 6254074 commit c4aab4e
Showing 1 changed file with 29 additions and 30 deletions.
59 changes: 29 additions & 30 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Publish on Deno Deploy

on:
push:
# Run on main branch pushes
Expand All @@ -10,39 +9,39 @@ on:
# Rebuild every day at 8:04 PM UTC
- cron: "4 20 * * *"

jobs:
build:
# What OS to use
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
jobs:
build:
# What OS to use
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write

# What steps to run
steps:
- name: Clone repository
# Git clone the repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
# What steps to run
steps:
- name: Clone repository
# Git clone the repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Setup Deno environment
# Downloads deno and caches it
uses: denoland/setup-deno@v2
with:
# Latest Deno 2.x version
deno-version: v2.x
- name: Setup Deno environment
# Downloads deno and caches it
uses: denoland/setup-deno@v2
with:
# Latest Deno 2.x version
deno-version: v2.x

- name: Build site
# Run the build script from deno.json
run: deno task build
- name: Build site
# Run the build script from deno.json
run: deno task build

- name: Commit changes
# Commit the changes to the repository
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply changes during gh actions build
status_options: '--untracked-files=no'
- name: Commit changes
# Commit the changes to the repository
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply changes during gh actions build
status_options: '--untracked-files=no'

- name: Deploy to Deno Deploy
# Push the built site to Deno Deploy
Expand Down

0 comments on commit c4aab4e

Please sign in to comment.