Add docker deploy workflow
This commit is contained in:
parent
a1069c1d21
commit
5f73c2ac82
1 changed files with 21 additions and 0 deletions
21
.github/workflows/main.yaml
vendored
Normal file
21
.github/workflows/main.yaml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
name: Deploy notebooks
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
docker-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout current branch with lfs
|
||||||
|
uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
lfs: true
|
||||||
|
- name: Publish notebooks to docker hub
|
||||||
|
uses: elgohr/Publish-Docker-Github-Action@master
|
||||||
|
with:
|
||||||
|
name: schmelczera/declared-frontend
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
dockerfile: frontend/Dockerfile
|
||||||
|
tags: "latest"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue