Skip to content

Commit f279cfb

Browse files
Add deploy action
Deploys this package to our DEV server when new pushes are mode to `main`. Based on SuffolkLITLab/docassemble-AssemblyLine#933
1 parent c43e8bb commit f279cfb

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy package to the Dev server
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
7+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
8+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
9+
concurrency:
10+
group: "dev-server"
11+
cancel-in-progress: false
12+
13+
jobs:
14+
deploy-to-dev:
15+
name: Deploy to the Development server
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: SuffolkLITLab/ALActions/da_package@main
19+
with:
20+
SERVER_URL: ${{ vars.DEV_SERVER_URL }}
21+
DOCASSEMBLE_DEVELOPER_API_KEY: ${{ secrets.DOCASSEMBLE_DEV_SERVER_API_KEY }}
22+
GITHUB_URL: ${{ github.server_url }}/${{ github.repository }}
23+
GITHUB_BRANCH: main

0 commit comments

Comments
 (0)