Files
visual_critical_discourse_a…/.gitea/workflows/show_env_vars.yaml
T
Brian Bjarke Jensen 5b1a49ec71
pipeline / Test (push) Successful in 1m0s
pipeline / Show (push) Successful in 6s
CI Pipeline / Test (pull_request) Successful in 54s
CI Pipeline / Build and Publish (pull_request) Failing after 5s
updated workflow
2024-02-25 16:53:10 +01:00

26 lines
844 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"
- name: Show Environment Variables
run: |
echo "REPOSITORY: ${{ gitea.repository }}"
echo "DOCKER_REPO_URL: ${{ vars.docker_repo_url }}"
echo "COMMIT_SHA: ${{ env.sha_short }}"