mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 08:45:02 +01:00
ci
This commit is contained in:
parent
fe10875296
commit
df45dcbb9f
2 changed files with 42 additions and 0 deletions
27
.github/workflows/deploy.yaml
vendored
Normal file
27
.github/workflows/deploy.yaml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Deploy an application
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
app:
|
||||
type: choice
|
||||
description: The app to deploy
|
||||
options:
|
||||
- widetom
|
||||
- cargo-bisect-rustc-service
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build
|
||||
steps:
|
||||
- name: Login to docker.nilstrieb.dev
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: docker.nilstrieb.dev
|
||||
username: ${{ secrets.DOCKER_NILSTRIEB_DEV_USER }}
|
||||
password: ${{ secrets.DOCKER_NILSTRIEB_DEV_PASSWORD }}
|
||||
- uses: actions/checkout@v3
|
||||
- name: Check out application source
|
||||
run: |
|
||||
APP=${{ github.event.inputs.app }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue