Add custom 404 error page and update server response for not found URLs #3
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: Docker Image CI for Unstable Branch | |
on: | |
push: | |
branches: | |
- unstable | |
pull_request: | |
branches: | |
- unstable | |
jobs: | |
build_and_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Build and push | |
run: | | |
export TZ="Asia/Taipei" | |
VERSION=$(date +'%Y-%m-%d.%H.%M.%S') | |
docker login ghcr.io -u kevinlee-06 -p ${{secrets.GH_PAT}}; | |
docker build -t ghcr.io/kevinlee-06/linklie:${VERSION} . | |
docker tag ghcr.io/kevinlee-06/linklie:${VERSION} ghcr.io/kevinlee-06/linklie:unstable | |
docker push ghcr.io/kevinlee-06/linklie:${VERSION} | |
docker push ghcr.io/kevinlee-06/linklie:unstable |