Prevent access to /tool/auth with valid session ID and invalid token … #287
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
name: Publish DragaliaAPI | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- DragaliaAPI/** | |
- Shared/** | |
- Directory.Packages.props | |
- .github/workflows/publish-api.yaml | |
- .github/workflows/deploy.yaml | |
- .github/workflows/build.yaml | |
env: | |
HUSKY: 0 | |
jobs: | |
build: | |
name: Build | |
uses: ./.github/workflows/build.yaml | |
with: | |
ref: main | |
dockerfile: "DragaliaAPI/DragaliaAPI/Dockerfile" | |
image-name: "dragalia-api" | |
secrets: inherit | |
deploy: | |
name: Deploy | |
needs: build | |
uses: ./.github/workflows/deploy.yaml | |
with: | |
github-environment: "Dawnshard" | |
version: ${{ needs.build.outputs.tag }} | |
secrets: inherit |