Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 18, 2023
1 parent bc61de0 commit 4b1f0e2
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 62 deletions.
16 changes: 8 additions & 8 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
reviewers:
- "thewildmage"
labels:
- "scope: meta"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
reviewers:
- "thewildmage"
labels:
- "scope: meta"
6 changes: 3 additions & 3 deletions .github/linters/.markdownlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ default: true
"first-line-h1": false # because of ---json front matter
"line-length": false
"list-marker-space":
ul_single: 3
ul_multi: 3
ul_single: 3
ul_multi: 3
"no-hard-tabs": false
"ul-indent":
indent: 4
indent: 4
82 changes: 41 additions & 41 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,53 @@
name: Deploy to GitHub Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
group: "pages"
cancel-in-progress: true

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Build
run: deno task build

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "./_distribution"

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Build
run: deno task build

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "./_distribution"

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
20 changes: 10 additions & 10 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
name: Super-Linter

on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev

jobs:
lint:
uses: thewildmage/dotfiles/.github/workflows/linter.yaml@v3.0.0
lint:
uses: thewildmage/dotfiles/.github/workflows/linter.yaml@v3.0.0

0 comments on commit 4b1f0e2

Please sign in to comment.