Unverified Commit 2182cd17 by Jaume Martin Committed by GitHub

Update main.yml

parent 721026c4
name: CI name: CI
on: [push] on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master
jobs: jobs:
build: build:
...@@ -8,6 +16,17 @@ jobs: ...@@ -8,6 +16,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v2
- name: Generate index with:
run: bash index_gen.sh ref: ${{ github.head_ref }}
- name: Run gen index
run: ./index_gen.sh
shell: bash
- uses: stefanzweifel/git-auto-commit-action@v2.5.0
with:
commit_message: Index updated
branch: ${{ github.head_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment