Skip to content

Manually build and deploy to production #60

Manually build and deploy to production

Manually build and deploy to production #60

Workflow file for this run

name: Manually build and deploy to production
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- id: build-only
uses: enonic/release-tools/build-and-publish@master
with:
skipPublishing: true
repoUser: ${{ secrets.ARTIFACTORY_USERNAME }}
repoPassword: ${{ secrets.ARTIFACTORY_PASSWORD }}
- id: deploy
uses: enonic/action-app-deploy@main
with:
url: ${{ secrets.ENONIC_DEPLOY_URL_PROD }}
username: ${{ secrets.ENONIC_PROD_USER }}
password: ${{ secrets.ENONIC_PROD_PASS }}
client_cert: ${{ secrets.ENONIC_CERT }}
client_key: ${{ secrets.ENONIC_KEY }}
app_jar: './build/libs/*.jar'