Skip to content

Fix the name of the api token secret. #8

Fix the name of the api token secret.

Fix the name of the api token secret. #8

Workflow file for this run

name: Deployment
on:
push:
branches:
- main
- dev*
workflow_dispatch:
env:
deployment-value: "test deployment value"
jobs:
deploy-dev:
runs-on: ubuntu-latest
environment: dev
steps:
- run: |
printenv
echo "Secrets:"
echo '${{ secrets.ENVIRONMENTSECRET }}'
echo "Variable:"
echo 'env var ${{ env.deployment-value }}'
name: deploy
# ...deployment-specific steps
deploy-test:
runs-on: ubuntu-latest
environment: test
needs: deploy-dev
steps:
- run: |
echo ${{ secrets.ENVIRONMENTSECRET }}
echo ${{ vars.DEPLOYMENT }}
name: deploy
# ...deployment-specific steps
deploy-prod:
runs-on: ubuntu-latest
environment: prod
needs: deploy-test
steps:
- run: |
echo ${{ secrets.ENVIRONMENTSECRET }}
echo ${{ vars.DEPLOYMENT }}
name: deploy
# ...deployment-specific steps