Skip to content

Merge pull request #1 from artello/insterra/packs/13/1696494257 #1

Merge pull request #1 from artello/insterra/packs/13/1696494257

Merge pull request #1 from artello/insterra/packs/13/1696494257 #1

Workflow file for this run

name: 'Deployment'
on:
push:
branches:
- main
- master
- develop
jobs:
build_and_deploy:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
ref: ${{ github.event.workflow_run.head_branch }}
fetch-depth: 0
- name: 'Pakman'
uses: upmaru/pakman@alpine-3.18-7.4
with:
command: 'bootstrap'
env:
ABUILD_PRIVATE_KEY: ${{secrets.ABUILD_PRIVATE_KEY}}
ABUILD_PUBLIC_KEY: ${{secrets.ABUILD_PUBLIC_KEY}}
- name: 'Build APK'
uses: upmaru/pakman@alpine-3.18-7.4
with:
entrypoint: /var/lib/pakman/bin/build.sh
- name: 'Archive'
uses: upmaru/pakman@alpine-3.18-7.4
with:
entrypoint: /var/lib/pakman/bin/archive.sh
- name: 'Create Deployment'
uses: upmaru/pakman@alpine-3.18-7.4
with:
command: 'create_deployment'
archive: 'packages.zip'
env:
WORKFLOW_REF: ${{ github.ref }}
WORKFLOW_SHA: ${{ github.sha }}
INSTELLAR_ENDPOINT: https://sandbox.opsmaru.dev
INSTELLAR_PACKAGE_TOKEN: ${{secrets.INSTELLAR_PACKAGE_TOKEN}}
INSTELLAR_AUTH_TOKEN: ${{secrets.INSTELLAR_AUTH_TOKEN}}