-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (38 loc) · 1.05 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: version-and-deploy
on:
push:
branches: ['master']
env:
COMPOSE_INTERACTIVE_NO_CLI: 1
SNOWFLAKE_USERNAME: ''
SNOWFLAKE_PASSWORD: ''
SNOWFLAKE_ACCOUNT: ''
SNOWFLAKE_DATABASE: ''
BIGQUERY_PROJECT: ''
jobs:
build:
name: generate-docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: '0' # gets the whole commit library, needed for tagging
- name: start containers
run: docker-compose up -d
- name: generate-docs
run: docker-compose exec -T testxdb docs
- name: commit docs
uses: EndBug/add-and-commit@v4
with:
author_name: Github Actions
author_email: robot@health-union.com
message: "Generated fresh docs"
add: "docs/"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.17.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: false
DEFAULT_BUMP: patch