Skip to content

Merge pull request #36 from moyogo/gel-apostrophe #423

Merge pull request #36 from moyogo/gel-apostrophe

Merge pull request #36 from moyogo/gel-apostrophe #423

Workflow file for this run

name: Flatten SLDR and publish master to staging
on:
push:
paths:
- .github/workflows/**
- sldr/**
branches: [ master, feat/*, fix/* ]
pull_request:
types:
- closed
paths:
- .github/workflows/**
- sldr/**
branches: [ master ]
jobs:
build:
uses: ./.github/workflows/build.yml
# Deploy built artefacts to the secrets.UPLOAD_TARGET
deploy:
needs: build
if: github.event_name == 'push' || github.event.pull_request.merged == true
uses: ./.github/workflows/deploy.yml
with:
stage-to: sldr-staging
artifact-id: ${{ needs.build.outputs.artifact-id }}
secrets:
uploader-key: ${{ secrets.UPLOADER_SSH_KEY }}
server-address: ${{ secrets.UPLOAD_TARGET }}
repository-dispatch-pat: ${{ secrets.REPO_DISPATCH_TOKEN }}