feat: auto redirect to home page if password and auth_secret arent set #33
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: ci | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- .env.example | |
- eslint.config.js | |
- README.md | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
NODE_OPTIONS: --max_old_space_size=4096 | |
permissions: | |
contents: read | |
deployments: write | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v4 | |
- name: Build docker image 🔧 | |
run: docker build . -f ./Dockerfile -t jacobshuman/readl8r:latest | |
- name: Log in to docker hub 🔑 | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_ACCESS_TOKEN }} | |
- name: Push docker image 💨 | |
run: docker push jacobshuman/readl8r:latest |