Fix building TR on deployment #103
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# sri sri guru gauranga jayatah | |
# | |
name: Production Deployment | |
on: | |
push: | |
branches: | |
- production | |
workflow_dispatch: | |
jobs: | |
deployment: | |
name: Deployment | |
uses: ./.github/workflows/deployment.yml | |
with: | |
environment: production | |
secrets: inherit | |
tag: | |
name: Tag | |
needs: deployment | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Create tag | |
run: | | |
DATE=$(date +'%Y-%m-%d') | |
git tag -f $DATE | |
git push -f origin $DATE |