Skip to content

Commit 5e35718

Browse files
author
Michael Hansen
committed
Add GitHub deploy action
1 parent 8f3094d commit 5e35718

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Deploy
3+
4+
on: [push, pull_request]
5+
6+
jobs:
7+
test:
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: [ubuntu-18.04]
13+
python-version: [3.7]
14+
15+
steps:
16+
- name: Set up Docker Buildx
17+
id: buildx
18+
uses: crazy-max/ghaction-docker-buildx@v3
19+
with:
20+
buildx-version: latest
21+
qemu-version: latest
22+
- name: Set up Python ${{ matrix.python-version }}
23+
uses: actions/setup-python@v1
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
- name: Checkout code
27+
uses: actions/checkout@v1
28+
- name: Deploy image
29+
run: |
30+
./configure --enable-in-place
31+
make deploy
32+
env:
33+
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

0 commit comments

Comments
 (0)