Skip to content

Commit

Permalink
Create trigger_publish.yml
Browse files Browse the repository at this point in the history
Create automation to build KB directly after push
  • Loading branch information
nconforti93 authored Dec 22, 2023
1 parent 4011a43 commit 3ff8ca6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/trigger_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Trigger Publish Action

on:
push:
branches:
- main

jobs:
update:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
repository: exasol/kb-flare
ref: main
token: ${{ secrets.EXA_CI_7_TOKEN }}
submodules: true

- name: Pull & update submodules recursively
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- name: Commit
run: |
git config user.email "[email protected]"
git config user.name "GitHub Actions - update submodules"
git add --all
git commit -m "Update submodules" || echo "No changes to commit"
git push

0 comments on commit 3ff8ca6

Please sign in to comment.