Fix $GITEA_SHA not existing #9

Merged
elyan merged 1 commits from devops/use-github-sha into master 2024-11-02 09:54:46 +00:00

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