devcontainer on noble (previously jammy) #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: cd-apps | |
permissions: | |
contents: read | |
id-token: write | |
on: | |
push: | |
branches: | |
- main | |
env: | |
ENVIRONMENT_ID: development | |
APP_NAME: dapr-helloworld | |
HUMCTL_VERSION: '0.25.0' | |
jobs: | |
deploy-humanitec: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install humctl | |
uses: humanitec/setup-cli-action@v1 | |
with: | |
version: ${{ env.HUMCTL_VERSION }} | |
- name: create app | |
run: | | |
humctl create app ${{ env.APP_NAME }} \ | |
--token ${{ secrets.HUMANITEC_TOKEN }} \ | |
--org ${{ secrets.HUMANITEC_ORG }} \ | |
--name ${{ env.APP_NAME }} \ | |
|| true | |
- name: deploy workloads | |
run: | | |
humctl score deploy \ | |
--token ${{ secrets.HUMANITEC_TOKEN }} \ | |
--org ${{ secrets.HUMANITEC_ORG }} \ | |
--app ${{ env.APP_NAME }} \ | |
--env ${{ env.ENVIRONMENT_ID }} \ | |
--deploy-config score.deploy.yaml | |