Files
visual_critical_discourse_a…/.gitea/workflows/show_env_vars.yaml
T
Brian Bjarke Jensen 82d34a7412
pipeline / Test (push) Successful in 50s
pipeline / Show (push) Successful in 4s
CI Pipeline / Test (pull_request) Successful in 55s
CI Pipeline / Build and Publish (pull_request) Failing after 6s
updated workflow
2024-02-25 16:42:47 +01:00

28 lines
913 B
YAML

name: pipeline
run-name: ${{ gitea.actor }} is running the script
runs-on: ubuntu-latest
on: push
image: python:3.12
jobs:
show:
name: Show
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set Environment Variables
id: vars
run: |
echo "REPOSITORY: ${{ gitea.repository }}"
echo "DOCKER_REPO_URL: ${{ vars.docker_repo_url }}"
echo "COMMIT_SHA: ${{ gitea.sha }}"
echo $(git rev-parse --short ${{ gitea.sha }})
echo "sha_short=$(git rev-parse --short ${{ gitea.sha }} )" >> "$GITHUB_ENV"
echo "${{ gitea.env }}"
- name: Show Environment Variables
run: |
echo "REPOSITORY: ${{ gitea.repository }}"
echo "DOCKER_REPO_URL: ${{ vars.docker_repo_url }}"
echo "COMMIT_SHA: ${{ gitea.sha }}"
echo "${{ vars.sha_short }}"