Skip to content

Commit

Permalink
Fix CI tagging.
Browse files Browse the repository at this point in the history
  • Loading branch information
nottalulah committed Apr 5, 2024
1 parent 708315f commit 27e7457
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,19 +197,22 @@ jobs:

- name: Deploy to Production
run: |
kubectl rollout restart deploy/danbooru deploy/jobs deploy/cron -n danbooru
kubectl rollout restart deploy/danbooru deploy/jobs deploy/cron deploy/discord -n danbooru
tag-production:
runs-on: ubuntu-latest
needs: deploy-production

permissions:
contents: write

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set env
run: echo "::set-env name=NOW::$(date +'%Y-%m-%dT%H:%M:%S')"
run: echo "NOW=$(date +'%Y.%m.%d_%H.%M.%S-utc')" >> $GITHUB_ENV

- name: Create tag
uses: rickstaa/action-create-tag@v1
Expand Down

0 comments on commit 27e7457

Please sign in to comment.