Skip to content

Deploy v0.0.1 to Staging #2

Deploy v0.0.1 to Staging

Deploy v0.0.1 to Staging #2

Workflow file for this run

name: Deploy Release to Staging
run-name: Deploy ${{ github.ref_name }} to Staging
concurrency: deploy-staging
on:
workflow_dispatch:
repository_dispatch:
types: [deploy-staging]
jobs:
deployment:
name: Deploy to Staging
environment: staging
runs-on: ubuntu-20.04
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Login to GitHub Package Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Make Image for Environment
run: |
make deploy-lab version=${{ github.ref_name }} environment=staging
- name: Deploy to Penguin
env:
PENGUINCTL_APIURL: ${{ vars.PENGUINCTL_APIURL }}
PENGUINCTL_APITOKEN: ${{ secrets.PENGUINCTL_APITOKEN }}
run: |
make deploy-lms