Skip to content

Merge branch 'proof-of-concept' of github.com:nationalarchives/ds-etn… #30

Merge branch 'proof-of-concept' of github.com:nationalarchives/ds-etn…

Merge branch 'proof-of-concept' of github.com:nationalarchives/ds-etn… #30

Workflow file for this run

name: CD
on:
workflow_dispatch:
push:
branches:
- proof-of-concept
concurrency:
group: cd
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Get tag
id: version-tag
uses: ./.github/actions/get-version-tag
- name: Build Docker image
uses: ./.github/actions/docker-build
with:
version: ${{ steps.version-tag.outputs.version-tag }}
latest: true
github-token: ${{ secrets.GITHUB_TOKEN }}
docker-image-name: ${{ vars.DOCKER_IMAGE_NAME }}
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: axelerant/platformsh-deploy-action@v1
with:
project-id: ${{ secrets.PLATFORM_PROJECT_ID }}
cli-token: ${{ secrets.PLATFORM_CLI_TOKEN }}
environment-name: main