Skip to content

Commit

Permalink
add files for templates
Browse files Browse the repository at this point in the history
  • Loading branch information
sjuergen committed Oct 25, 2023
1 parent fed1ccc commit 684649e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/distribute_workflows_for_libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
exclude_private: false
exclude_forked: true
committer_username: simatic-ax-bot
commit_message: "ci: distribute workflows for libraries"
commit_message: "ci: distribute common files"

# This job deploys the file:
# LICENSE.md to ALL repositories
Expand Down
7 changes: 7 additions & 0 deletions files/templates/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.apax
.env
bin
obj
TestResult
*.tgz
assets
4 changes: 4 additions & 0 deletions files/templates/workflows/lint-repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
on: push
jobs:
lint-repo-and-markdown:
uses: simatic-ax/actions/.github/workflows/check-repository.yml@stable
16 changes: 16 additions & 0 deletions files/templates/workflows/release-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
push:
# Pattern matched against refs/tags
tags:
- '*'

jobs:
release-apax-lib:
uses: simatic-ax/actions/.github/workflows/apax-publish.yml@stable
secrets:
APAX_TOKEN: ${{ secrets.APAX_TOKEN }}
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
APAX_SIGNKEY: ${{ secrets.APAX_SIGNKEY }}

with:
VERSION: ${{ github.ref_name }}

0 comments on commit 684649e

Please sign in to comment.