Skip to content

Commit

Permalink
ci: Add reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall committed Sep 30, 2023
1 parent 1502270 commit 213fb1c
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{yaml,yml}]
[*.{md,yaml,yml}]
indent_style = space
indent_size = 2
quote_type = single
16 changes: 16 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Lint'

on:
push:
branches-ignore: ['*-no-ci']
tags-ignore: ['*']

permissions:
contents: 'read'
pages: 'write'
id-token: 'write'

jobs:
bash:
name: 'Bash'
uses: 'fox-land/hyperupcall-action/.github/workflows/bash-lint.yml@main'
File renamed without changes.
16 changes: 16 additions & 0 deletions .github/workflows/website.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 'Website'

on:
push:
branches-ignore: ['*-no-ci']
tags-ignore: ['*']

permissions:
contents: 'read'
pages: 'write'
id-token: 'write'

jobs:
build-and-deploy:
name: 'Build And Deploy'
uses: 'fox-land/hyperupcall-action/.github/workflows/website.yml@main'

0 comments on commit 213fb1c

Please sign in to comment.