Allow manually running GitHub Actions workflows and use consistent file extension (#2215)

* Rename deploy-gh-pages.yaml to deploy-gh-pages.yml
* Enable workflow_dispatch trigger to allow manually running
This commit is contained in:
Nikita Sobolev 2022-01-20 10:48:26 +03:00 committed by GitHub
parent f91ab0d4ec
commit d9e63ccf42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
name: Build
on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]
jobs:
build:

View File

@ -3,6 +3,7 @@ name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy-to-pages:

View File

@ -1,6 +1,6 @@
name: Lint
on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]
jobs:
pre-commit: