Skip to content

Commit

Permalink
add GH job to remove reference.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Nov 8, 2022
1 parent de0eeaf commit ea1720a
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
name: Docs

on:
workflow_dispatch:
workflow_dispatch:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
update_ref:
runs-on: ubuntu-latest

if: startsWith( github.ref, 'refs/tags/')

steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: master

- name: "remove API reference commit SHA"
run: rm -rf reference.txt
continue-on-error: true

- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "TASK: Updating API ref SHA"
commit_user_name: automation-commercetools
commit_user_email: [email protected]
commit_author: Auto Mation <[email protected]>

unittests:
name: Build Docs

Expand Down

0 comments on commit ea1720a

Please sign in to comment.