diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index e57b122..403f91e 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -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" diff --git a/.github/linters/.markdownlint.yaml b/.github/linters/.markdownlint.yaml index dad5d5d..9886304 100644 --- a/.github/linters/.markdownlint.yaml +++ b/.github/linters/.markdownlint.yaml @@ -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 diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 524589f..9cc5d01 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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 diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml index aa5c254..e3b3503 100644 --- a/.github/workflows/linter.yaml +++ b/.github/workflows/linter.yaml @@ -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