Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Fix .well-known root #58

Fix .well-known root

Fix .well-known root #58

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
inputs:
stage:
description: "Stage"
required: true
default: "dev"
jobs:
init:
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.setvars.outputs.tag }}
steps:
- id: setvars
run: |
if [[ "${{ github.event.inputs.stage }}" == "dev" || "${{ github.ref }}" != "refs/heads/main" ]]; then
echo "tag=dev" >> $GITHUB_OUTPUT
else
echo "tag=latest" >> $GITHUB_OUTPUT
fi
push:
runs-on: ubuntu-latest
needs: [init]
steps:
- uses: docker/setup-buildx-action@v2
- uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/build-push-action@v3
with:
push: true
tags: ${{ secrets.DOCKER_ORGANISATION }}/app-router:${{ needs.init.outputs.tag }}