Skip to main content

deploy

Deploy

Package and Deploy to a Skpr Environment

Below is an example implementation that packages and deploys the latest code from the main branch to the dev environment on every push.

name: Deploy Dev

on:
push:
branches: [ main ]

jobs:
deploy:
uses: skpr/gh-workflows/.github/workflows/deploy.yml@main
secrets:
skpr_username: ${{ secrets.SKPR_USERNAME }}
skpr_password: ${{ secrets.SKPR_PASSWORD }}
with:
env: dev