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

Merge pull request #26 from Humanitec-DemoOrg/route #11

Merge pull request #26 from Humanitec-DemoOrg/route

Merge pull request #26 from Humanitec-DemoOrg/route #11

Workflow file for this run

name: Main
on:
push:
branches:
- "main"
permissions:
contents: read
pull-requests: write
env:
ENVIRONMENT: 'development'
SCORE_HUMANITEC_VERSION: 0.8.0
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install score-humanitec
run: |
wget https://github.com/score-spec/score-humanitec/releases/download/${{ env.SCORE_HUMANITEC_VERSION }}/score-humanitec_${{ env.SCORE_HUMANITEC_VERSION }}_linux_amd64.tar.gz
tar -xvf score-humanitec_${{ env.SCORE_HUMANITEC_VERSION }}_linux_amd64.tar.gz
chmod +x score-humanitec
mv score-humanitec /usr/local/bin
- name: Run Score
run: |
score-humanitec delta \
--retry \
--deploy \
--token ${{ secrets.HUMANITEC_TOKEN }} \
--org ${{ vars.HUMANITEC_ORG }} \
--app ${{ vars.APP_NAME }} \
--env ${{ env.ENVIRONMENT }} \
| tee score_output.json