From 3b3fcf66a105869aedbe8d56646c1169efd44ce1 Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Fri, 16 Apr 2021 17:12:26 +0200 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..ddb7c51 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,51 @@ +# This is a basic workflow to help you get started with Actions +name: CI +# Controls when the action will run. +on: + # Triggers the workflow on push or pull request events but only for the gh-pages branch + push: + branches: [ gh-pages ] + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest +--- +- name: HTML5 Validator +# You may pin to the exact commit or the version. + # uses: Cyb3r-Jak3/html5validator-action@c8012a8df62da54b8babd683a38e0dd3f49fa3ae + uses: Cyb3r-Jak3/html5validator-action@v0.5 + with: + # Path of the files to test + root: # optional + # Path of config file + config: # optional + # Extra arguments to test with + extra: # optional + # Format for logging output. Valid values: gnu,xml,json,text + format: # optional + # Logging Level. Valid values: DEBUG, INFO, WARNING. Default: WARNING + log_level: # optional, default is WARNING + # Checks css as well + css: # optional + # Files or directories to ignore in checking + ignore: # optional + # Flag that increase verbose output only used for troubleshooting the action. + action_debug: # optional + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project.