-
Notifications
You must be signed in to change notification settings - Fork 64
38 lines (33 loc) · 1.15 KB
/
generate-fs-docs.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
name: SignalWire Docs
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches:
- main
# paths:
# - custom-path/**
pull_request:
branches:
- main
# paths:
# - custom-path/**
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
name: "Build/push & deploy to swarm"
# The type of runner that the job will run on
uses: signalwire/actions-template/.github/workflows/docker-bp.yml@c53f25701311044e264e448672d40cd67d56a7e7
with:
PROJECT_NAME: "freeswitch-docs"
SWARM_SERVICE: "signalwire-docs_freeswitch-docs"
PR_MESSAGE: false
SWARM_DEPLOY: true
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
ENDPOINTID: ${{ secrets.DOCS_ENDPOINT_ID }}
PORTAINER_API_KEY: ${{ secrets.PORTAINER_API_KEY }}