Merge pull request 'Fix $GITEA_SHA not existing' (#9) from devops/use-github-sha into master
All checks were successful
Central(Architecture) Docs Build / Build Documentation (push) Successful in 18s

Reviewed-on: #9
This commit is contained in:
elyan 2024-11-02 09:54:45 +00:00
commit 06835611f9

View File

@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set short SHA - name: Set short SHA
run: echo "SHORT_SHA=$(echo ${GITEA_SHA::7})" >> $GITEA_ENV run: echo "SHORT_SHA=$(echo ${GITHUB_SHA::7})" >> $GITEA_ENV
- name: Get current date - name: Get current date
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITEA_ENV run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITEA_ENV