Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Merge pull request #596 from beabee-communityrm/chore/hide-tax-settings #937

Merge pull request #596 from beabee-communityrm/chore/hide-tax-settings

Merge pull request #596 from beabee-communityrm/chore/hide-tax-settings #937

Workflow file for this run

name: Deploy
on:
push:
branches: ['main', 'dev']
jobs:
init:
name: Initialise
runs-on: ubuntu-latest
outputs:
stack: ${{ steps.getstage.outputs.stack }}
steps:
- id: getstage
run: |
case "${{ github.ref }}" in
refs/heads/main)
echo "stack=beabee-demo" >> $GITHUB_OUTPUT
;;
refs/heads/dev)
echo "stack=beabee-dev" >> $GITHUB_OUTPUT
;;
esac
check:
name: Check
uses: ./.github/workflows/check.yml
build-push:
name: Build and push
uses: ./.github/workflows/build-push.yml
needs: [check]
secrets: inherit
deploy:
runs-on: ubuntu-latest
needs: [init, build-push]
steps:
- uses: jonasschatz/portami@main
with:
endpoint: 'https://port.hive.beabee.io'
access_token: ${{ secrets.PORTAINER_ACCESSTOKEN }}
stack_name: ${{ needs.init.outputs.stack }}
prune: true
pull: true